Skip to content

Conversation

ronanj
Copy link

@ronanj ronanj commented Dec 15, 2023

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 ronan.jezequel@gmail.com

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 ronan.jezequel@gmail.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant