Fix 'switch' bytecode generation. Remove __strtof. Fix opcodes pretty-printing.

This commit is contained in:
Ilmir Usmanov
2014-10-16 15:33:54 +04:00
parent 8a58e0b9d5
commit 16556eb830
7 changed files with 132 additions and 115 deletions
+3 -3
View File
@@ -59,14 +59,14 @@ serializer_dump_opcode (opcode_t opcode)
{
JERRY_ASSERT (scopes_tree_opcodes_num (current_scope) < MAX_OPCODES);
scopes_tree_add_opcode (current_scope, opcode);
#ifdef JERRY_ENABLE_PP
if (print_opcodes)
{
pp_opcode (scopes_tree_opcodes_num (current_scope), opcode, false);
pp_opcode ((opcode_counter_t) (scopes_tree_opcodes_num (current_scope) - 1), opcode, false);
}
#endif
scopes_tree_add_opcode (current_scope, opcode);
}
void