Separate unwinding process for break / return

This commit is contained in:
dearblue
2023-12-20 21:54:53 +09:00
parent 72ca266ed7
commit 859f1b3002
2 changed files with 89 additions and 87 deletions
-4
View File
@@ -19,10 +19,6 @@ enum mrb_insn {
#define OP_L_LAMBDA (OP_L_STRICT|OP_L_CAPTURE)
#define OP_L_BLOCK OP_L_CAPTURE
#define OP_R_NORMAL 0
#define OP_R_BREAK 1
#define OP_R_RETURN 2
#define PEEK_B(pc) (*(pc))
#define PEEK_S(pc) ((pc)[0]<<8|(pc)[1])
#define PEEK_W(pc) ((pc)[0]<<16|(pc)[1]<<8|(pc)[2])