[quickjs] Oops the breakpoint op can't be defined here or bad things

I should have read the very important comment. :(
This commit is contained in:
John Doty 2023-09-23 09:11:07 -05:00
parent 3570c7a55b
commit 26fb773b0b

View file

@ -260,11 +260,10 @@ DEF(is_undefined_or_null, 1, 1, 1, none)
DEF( mul_pow10, 1, 2, 1, none)
DEF( math_mod, 1, 2, 1, none)
#endif
DEF( breakpoint, 1, 0, 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 */