Unverified Commit b3e6a993 authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto Committed by GitHub

Merge pull request #4834 from shuujii/use-proper-PEEK-macro-for-OP_EPUSH-in-patch_irep

Use proper `PEEK` macro for `OP_EPUSH` in `patch_irep`; fix #4833
parents 56f9106d 8596edba
...@@ -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