Fix bug in for-in bytecode replacement

JerryScript-DCO-1.0-Signed-off-by: Youngil Choi [email protected]
This commit is contained in:
Youngil Choi committed 2016-08-30 16:57:49 +09:00
1 parent a6d2e792f8
commit 9f65b76013
2 files changed
+29 -1

No files matched your search

+1 -1
View File
@@ -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)