summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Kokubun <[email protected]>2022-12-20 21:53:25 -0800
committerTakashi Kokubun <[email protected]>2023-03-05 22:11:20 -0800
commit8deb0438c48c7c140a1aec1eef055d972aff7507 (patch)
treef1ff3f35e6c28f938bb138d66933e5fa00dd39e6
parente60fc8c2ff2fb707d983154518741f3b3fbc3128 (diff)
Remove debugging code
-rw-r--r--mjit_c.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/mjit_c.c b/mjit_c.c
index 0af2e4b239..8552926287 100644
--- a/mjit_c.c
+++ b/mjit_c.c
@@ -41,12 +41,9 @@
// macOS: brew install capstone
// Ubuntu/Debian: apt-get install libcapstone-dev
// Fedora: dnf -y install capstone-devel
-//#ifdef HAVE_LIBCAPSTONE
-#if 1
+#ifdef HAVE_LIBCAPSTONE
#include <capstone/capstone.h>
-#define CODE "\x55\x48\x8b\x05\xb8\x13\x00\x00"
-
// Return an array of [address, mnemonic, op_str]
static VALUE
dump_disasm(rb_execution_context_t *ec, VALUE self, VALUE from, VALUE to)