[quickjs] Debugger

This commit is contained in:
John Doty 2023-09-22 13:26:33 -05:00
parent c96a1a4979
commit 6fa3e64b8d
3 changed files with 265 additions and 11 deletions

View file

@ -263,6 +263,8 @@ DEF( math_mod, 1, 2, 1, none)
/* must be the last non short and non temporary opcode */
DEF( nop, 1, 0, 0, none)
DEF( breakpoint, 1, 0, 1, none)
/* temporary opcodes: never emitted in the final bytecode */
def( enter_scope, 3, 0, 0, u16) /* emitted in phase 1, removed in phase 2 */