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:
Youngil Choi
2016-08-30 12:50:12 +09:00
parent a6d2e792f8
commit 9f65b76013
2 changed files with 29 additions and 1 deletions
+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)