Remove invalid assertion from parser_flush_cbc (#4063)

This patch fixes #4054.

JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
This commit is contained in:
Robert Fancsik
2020-07-27 19:38:19 +02:00
committed by GitHub
parent 39e2bc4df4
commit daa409a09a
2 changed files with 20 additions and 2 deletions
-2
View File
@@ -153,8 +153,6 @@ parser_flush_cbc (parser_context_t *context_p) /**< context */
return;
}
JERRY_ASSERT (last_opcode != PARSER_TO_EXT_OPCODE (CBC_EXT_PUSH_SUPER));
context_p->status_flags |= PARSER_NO_END_LABEL;
if (PARSER_IS_BASIC_OPCODE (last_opcode))