summaryrefslogtreecommitdiffhomepage
path: root/src/codedump.c
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2021-09-11 11:00:11 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2021-09-11 11:00:11 +0900
commite1a865f272ae84c817036e6b6c723dc47b9d81b2 (patch)
treea0ff4cf5f8e2a214eb86325ea5b8e58986fac316 /src/codedump.c
parent648a774ef6e68a9aec860ba5438f47aaf912b578 (diff)
downloadmruby-e1a865f272ae84c817036e6b6c723dc47b9d81b2.tar.gz
mruby-e1a865f272ae84c817036e6b6c723dc47b9d81b2.zip
codedump.c: avoid printing `OP_EXT?` prefix.
Diffstat (limited to 'src/codedump.c')
-rw-r--r--src/codedump.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/codedump.c b/src/codedump.c
index b7dc421e2..87faa589c 100644
--- a/src/codedump.c
+++ b/src/codedump.c
@@ -542,8 +542,6 @@ codedump(mrb_state *mrb, const mrb_irep *irep)
CASE(OP_EXT1, Z):
ins = READ_B();
- printf("OP_EXT1\n");
- print_header(mrb, irep, pc-irep->iseq-2);
switch (ins) {
#define OPCODE(i,x) case OP_ ## i: FETCH_ ## x ## _1 (); goto L_OP_ ## i;
#include "mruby/ops.h"
@@ -552,8 +550,6 @@ codedump(mrb_state *mrb, const mrb_irep *irep)
break;
CASE(OP_EXT2, Z):
ins = READ_B();
- printf("OP_EXT2\n");
- print_header(mrb, irep, pc-irep->iseq-2);
switch (ins) {
#define OPCODE(i,x) case OP_ ## i: FETCH_ ## x ## _2 (); goto L_OP_ ## i;
#include "mruby/ops.h"
@@ -562,8 +558,6 @@ codedump(mrb_state *mrb, const mrb_irep *irep)
break;
CASE(OP_EXT3, Z):
ins = READ_B();
- printf("OP_EXT3\n");
- print_header(mrb, irep, pc-irep->iseq-2);
switch (ins) {
#define OPCODE(i,x) case OP_ ## i: FETCH_ ## x ## _3 (); goto L_OP_ ## i;
#include "mruby/ops.h"