diff options
author | Takashi Kokubun <[email protected]> | 2020-06-25 23:50:18 -0700 |
---|---|---|
committer | Takashi Kokubun <[email protected]> | 2020-06-25 23:50:19 -0700 |
commit | 40b40523dcf957fa9459c1c1037ad79d73867f83 (patch) | |
tree | e28486dabfd8a98f6aed666358da9ca15df1f8e6 /tool/ruby_vm | |
parent | 7982dc1dfd5df000b7361ccb7bc820da4f3547b8 (diff) |
Show what's inlined first in "JIT inline" log
and add a debug log
Diffstat (limited to 'tool/ruby_vm')
-rw-r--r-- | tool/ruby_vm/views/_mjit_compile_send.erb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tool/ruby_vm/views/_mjit_compile_send.erb b/tool/ruby_vm/views/_mjit_compile_send.erb index 8c1c1c094d..6b271d4d74 100644 --- a/tool/ruby_vm/views/_mjit_compile_send.erb +++ b/tool/ruby_vm/views/_mjit_compile_send.erb @@ -30,6 +30,9 @@ && fastpath_applied_iseq_p(ci, captured_cc, iseq = def_iseq_ptr(vm_cc_cme(captured_cc)->def)) && !(vm_ci_flag(ci) & VM_CALL_TAILCALL)) )) { + if (false && vm_cc_cme(captured_cc)->def->type == VM_METHOD_TYPE_CFUNC) + fprintf(stderr, " * %s\n", rb_id2name(vm_ci_mid(ci))); + int sp_inc = (int)sp_inc_of_sendish(ci); fprintf(f, "{\n"); |