summaryrefslogtreecommitdiff
path: root/vm_insnhelper.c
diff options
context:
space:
mode:
authorUrabe, Shyouhei <shyouhei@ruby-lang.org>2019-04-25 14:33:44 +0900
committerUrabe, Shyouhei <shyouhei@ruby-lang.org>2019-04-26 15:59:40 +0900
commit171a6ad1c12b1600b01d9bde29947526ae3e2aee (patch)
tree8b4ee9537994f869488f69b5a897b0faaa2b1bce /vm_insnhelper.c
parentb6ebbee5d64dbd422957efe55b4ec5520c9b11bf (diff)
print the disasm
It seems to be my fault to leave the variable disasm unused.
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r--vm_insnhelper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c
index e555f6b9bd..2739e2bedf 100644
--- a/vm_insnhelper.c
+++ b/vm_insnhelper.c
@@ -235,7 +235,7 @@ vm_check_canary(const rb_execution_context_t *ec, VALUE *sp)
const VALUE inspection = rb_inspect(iseqw);
const char *stri = rb_str_to_cstr(inspection);
const VALUE disasm = rb_iseq_disasm(iseq);
- const char *strd = "";/* rb_str_to_cstr(disasm); */
+ const char *strd = rb_str_to_cstr(disasm);
/* rb_bug() is not capable of outputting this large contents. It
is designed to run form a SIGSEGV handler, which tends to be