print the disasm

It seems to be my fault to leave the variable disasm unused.
This commit is contained in:
Urabe, Shyouhei 2019-04-25 14:33:44 +09:00
parent b6ebbee5d6
commit 171a6ad1c1

View File

@ -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