Commit 8596edba authored by KOBAYASHI Shuji's avatar KOBAYASHI Shuji

Use proper `PEEK` macro for `OP_EPUSH` in `patch_irep`; fix #4833

parent 79e73dd8
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment