diff options
Diffstat (limited to 'vm_insnhelper.h')
-rw-r--r-- | vm_insnhelper.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/vm_insnhelper.h b/vm_insnhelper.h index 31dbdac3fa..1dd491cf7f 100644 --- a/vm_insnhelper.h +++ b/vm_insnhelper.h @@ -130,8 +130,7 @@ enum vm_regan_acttype { #define CALL_METHOD(calling, ci, cc) do { \ VALUE v = (*(cc)->call)(ec, GET_CFP(), (calling), (ci), (cc)); \ if (v == Qundef && (v = mjit_exec(ec)) == Qundef) { \ - RESTORE_REGS(); \ - NEXT_INSN(); \ + EXEC_EC_CFP(); \ } \ else { \ val = v; \ @@ -185,7 +184,7 @@ enum vm_regan_acttype { #define GET_GLOBAL_CONSTANT_STATE() (ruby_vm_global_constant_state) #define INC_GLOBAL_CONSTANT_STATE() (++ruby_vm_global_constant_state) -static VALUE make_no_method_exception(VALUE exc, VALUE format, VALUE obj, +extern VALUE make_no_method_exception(VALUE exc, VALUE format, VALUE obj, int argc, const VALUE *argv, int priv); static inline struct vm_throw_data * |