mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Removed push/pop instructions for rescue/ensure
`OP_PUSHERR`, `OP_POPERR`, `OP_EPUSH` and `OP_EPOP` are removed.
This commit is contained in:
committed by
Yukihiro "Matz" Matsumoto
parent
f467b02d45
commit
0d7b4deccf
@@ -493,12 +493,6 @@ codedump(mrb_state *mrb, const mrb_irep *irep)
|
||||
printf("OP_ERR\tL(%d)\n", a);
|
||||
}
|
||||
break;
|
||||
CASE(OP_EPUSH, B);
|
||||
printf("OP_EPUSH\t\t:I(%d:%p)\n", a, irep->reps[a]);
|
||||
break;
|
||||
CASE(OP_ONERR, S);
|
||||
printf("OP_ONERR\t%03d\n", a);
|
||||
break;
|
||||
CASE(OP_EXCEPT, B);
|
||||
printf("OP_EXCEPT\tR%d\t\t", a);
|
||||
print_lv_a(mrb, irep, a);
|
||||
@@ -511,12 +505,6 @@ codedump(mrb_state *mrb, const mrb_irep *irep)
|
||||
printf("OP_RAISEIF\tR%d\t\t", a);
|
||||
print_lv_a(mrb, irep, a);
|
||||
break;
|
||||
CASE(OP_POPERR, B);
|
||||
printf("OP_POPERR\t%d\t\t\n", a);
|
||||
break;
|
||||
CASE(OP_EPOP, B);
|
||||
printf("OP_EPOP\t%d\n", a);
|
||||
break;
|
||||
|
||||
CASE(OP_DEBUG, BBB);
|
||||
printf("OP_DEBUG\t%d\t%d\t%d\n", a, b, c);
|
||||
|
||||
Reference in New Issue
Block a user