jerryscript
jerryscript copied to clipboard
util_print_cbc: Handle CBC_SET_BYTECODE_PTR opcode
This change handles the CBC_SET_BYTECODE_PTR opcode when dumping the VM opcodes.
Instead of incrementing the byte code pointer to the next byte (byte_code_p++), it instead jumps to the address pointer stored after CBC_SET_BYTECODE_PTR.
JerryScript-DCO-1.0-Signed-off-by: Ronan Jezequel [email protected]