mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
codedump.c: print OP_EXT explicitly again for debugging purpose.
This commit is contained in:
@@ -573,6 +573,8 @@ codedump(mrb_state *mrb, const mrb_irep *irep)
|
||||
break;
|
||||
|
||||
CASE(OP_EXT1, Z):
|
||||
printf("EXT1\n");
|
||||
print_header(mrb, irep, pc-irep->iseq);
|
||||
ins = READ_B();
|
||||
switch (ins) {
|
||||
#define OPCODE(i,x) case OP_ ## i: FETCH_ ## x ## _1 (); goto L_OP_ ## i;
|
||||
@@ -581,6 +583,8 @@ codedump(mrb_state *mrb, const mrb_irep *irep)
|
||||
}
|
||||
break;
|
||||
CASE(OP_EXT2, Z):
|
||||
printf("EXT2\n");
|
||||
print_header(mrb, irep, pc-irep->iseq);
|
||||
ins = READ_B();
|
||||
switch (ins) {
|
||||
#define OPCODE(i,x) case OP_ ## i: FETCH_ ## x ## _2 (); goto L_OP_ ## i;
|
||||
@@ -589,6 +593,8 @@ codedump(mrb_state *mrb, const mrb_irep *irep)
|
||||
}
|
||||
break;
|
||||
CASE(OP_EXT3, Z):
|
||||
printf("EXT3\n");
|
||||
print_header(mrb, irep, pc-irep->iseq);
|
||||
ins = READ_B();
|
||||
switch (ins) {
|
||||
#define OPCODE(i,x) case OP_ ## i: FETCH_ ## x ## _3 (); goto L_OP_ ## i;
|
||||
|
||||
Reference in New Issue
Block a user