From 171a6ad1c12b1600b01d9bde29947526ae3e2aee Mon Sep 17 00:00:00 2001 From: "Urabe, Shyouhei" Date: Thu, 25 Apr 2019 14:33:44 +0900 Subject: [PATCH] print the disasm It seems to be my fault to leave the variable disasm unused. --- vm_insnhelper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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