Fix bug in for-in bytecode replacement
JerryScript-DCO-1.0-Signed-off-by: Youngil Choi duddlf.choi@samsung.com
This commit is contained in:
@@ -789,7 +789,7 @@ parser_parse_for_statement_start (parser_context_t *context_p) /**< context */
|
||||
}
|
||||
else if (opcode == CBC_PUSH_PROP_LITERAL)
|
||||
{
|
||||
opcode = CBC_PUSH_PROP_LITERAL_REFERENCE;
|
||||
opcode = CBC_ASSIGN_PROP_LITERAL;
|
||||
context_p->last_cbc_opcode = PARSER_CBC_UNAVAILABLE;
|
||||
}
|
||||
else if (opcode == CBC_PUSH_PROP_LITERAL_LITERAL)
|
||||
|
||||
Reference in New Issue
Block a user