mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Use proper PEEK macro for OP_EPUSH in patch_irep; fix #4833
This commit is contained in:
@@ -110,8 +110,8 @@ patch_irep(mrb_state *mrb, mrb_irep *irep, int bnest, mrb_irep *top)
|
||||
insn = iseq[i];
|
||||
switch(insn){
|
||||
case OP_EPUSH:
|
||||
b = PEEK_S(iseq+i+1);
|
||||
patch_irep(mrb, irep->reps[b], bnest + 1, top);
|
||||
a = PEEK_B(iseq+i+1);
|
||||
patch_irep(mrb, irep->reps[a], bnest + 1, top);
|
||||
break;
|
||||
|
||||
case OP_LAMBDA:
|
||||
|
||||
Reference in New Issue
Block a user