diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-12-01 13:42:40 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-12-01 13:42:40 +0900 |
| commit | 7a31a1743a789555b3b3ecbd2624023efe686549 (patch) | |
| tree | 33cc462368e96e0364bbea9070ed844612d24154 /src/codedump.c | |
| parent | b5842dea582bf94f868900e8e542fe4a1ecfdbd7 (diff) | |
| download | mruby-7a31a1743a789555b3b3ecbd2624023efe686549.tar.gz mruby-7a31a1743a789555b3b3ecbd2624023efe686549.zip | |
codedump.c: print `OP_EXT` explicitly again for debugging purpose.
Diffstat (limited to 'src/codedump.c')
| -rw-r--r-- | src/codedump.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/codedump.c b/src/codedump.c index ef03e88f3..bc5ba8146 100644 --- a/src/codedump.c +++ b/src/codedump.c @@ -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; |
