codedump.c: print `OP_EXT` explicitly again for debugging purpose.

parent b5842dea
......@@ -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;
......
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