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) ...@@ -110,8 +110,8 @@ patch_irep(mrb_state *mrb, mrb_irep *irep, int bnest, mrb_irep *top)
insn = iseq[i]; insn = iseq[i];
switch(insn){ switch(insn){
case OP_EPUSH: case OP_EPUSH:
b = PEEK_S(iseq+i+1); a = PEEK_B(iseq+i+1);
patch_irep(mrb, irep->reps[b], bnest + 1, top); patch_irep(mrb, irep->reps[a], bnest + 1, top);
break; break;
case OP_LAMBDA: 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