Add generation of prop_setter.

This commit is contained in:
Ilmir Usmanov
2014-09-24 15:30:37 +04:00
parent 25ec2bea17
commit 0738ec6a54
9 changed files with 510 additions and 270 deletions
+7
View File
@@ -50,6 +50,13 @@ serializer_dump_opcode (opcode_t opcode)
STACK_PUSH (bytecode_opcodes, opcode);
}
void
serializer_set_writing_position (opcode_counter_t oc)
{
JERRY_ASSERT (oc < STACK_SIZE (bytecode_opcodes));
STACK_DROP (bytecode_opcodes, STACK_SIZE (bytecode_opcodes) - oc);
}
void
serializer_rewrite_opcode (const opcode_counter_t loc, opcode_t opcode)
{