diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2023-04-21 23:58:07 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-21 23:58:07 -0700 |
commit | 1702b0f438b2ac7c8b7d9c42bb5dfe23fad1df0f (patch) | |
tree | ee7251c024804b8e8be5a7dc1253305b72caf04d /insns.def | |
parent | de5cd5a635e3b975ca7acc5caf0363f2811abd95 (diff) |
Remove unused opt_call_c_function insn (#7750)
Notes
Notes:
Merged-By: k0kubun <takashikkbn@gmail.com>
Diffstat (limited to 'insns.def')
-rw-r--r-- | insns.def | 21 |
1 files changed, 0 insertions, 21 deletions
@@ -1472,27 +1472,6 @@ opt_regexpmatch2 } } -/* call native compiled method */ -DEFINE_INSN_IF(SUPPORT_CALL_C_FUNCTION) -opt_call_c_function -(rb_insn_func_t funcptr) -() -() -// attr bool leaf = false; /* anything can happen inside */ -// attr bool handles_sp = true; -{ - reg_cfp = (funcptr)(ec, reg_cfp); - - if (reg_cfp == 0) { - VALUE err = ec->errinfo; - ec->errinfo = Qnil; - THROW_EXCEPTION(err); - } - - RESTORE_REGS(); - NEXT_INSN(); -} - /* call specific function with args */ DEFINE_INSN invokebuiltin |