Fix 'op=' assignment bytecode dumping in case of arrays

This commit is contained in:
Ilmir Usmanov
2014-12-10 19:20:33 +03:00
parent dc8ab27900
commit 4b7871bdde
2 changed files with 6 additions and 2 deletions
+2 -2
View File
@@ -617,7 +617,7 @@ create_operand_from_tmp_and_lit (idx_t tmp, literal_index_t lit_id)
{
if (tmp != LITERAL_TO_REWRITE)
{
JERRY_ASSERT (lit_id != NOT_A_LITERAL);
JERRY_ASSERT (lit_id == NOT_A_LITERAL);
return (operand)
{
.type = OPERAND_TMP,
@@ -626,7 +626,7 @@ create_operand_from_tmp_and_lit (idx_t tmp, literal_index_t lit_id)
}
else
{
JERRY_ASSERT (lit_id == NOT_A_LITERAL);
JERRY_ASSERT (lit_id != NOT_A_LITERAL);
return (operand)
{
.type = OPERAND_LITERAL,