From 26fb773b0bf6e5de32b7c16a9f0527dfb5ed0137 Mon Sep 17 00:00:00 2001 From: John Doty Date: Sat, 23 Sep 2023 09:11:07 -0500 Subject: [PATCH] [quickjs] Oops the breakpoint op can't be defined here or bad things I should have read the very important comment. :( --- oden-js-sys/quickjs/quickjs-opcode.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/oden-js-sys/quickjs/quickjs-opcode.h b/oden-js-sys/quickjs/quickjs-opcode.h index a99c5666..877ea45d 100644 --- a/oden-js-sys/quickjs/quickjs-opcode.h +++ b/oden-js-sys/quickjs/quickjs-opcode.h @@ -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 */