jerryscript icon indicating copy to clipboard operation
jerryscript copied to clipboard

util_print_cbc: Handle CBC_SET_BYTECODE_PTR opcode

Open ronanj opened this issue 2 years ago • 0 comments

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]

ronanj avatar Dec 15 '23 07:12 ronanj