diff options
author | Maxime Chevalier-Boisvert <[email protected]> | 2021-01-28 16:58:20 -0500 |
---|---|---|
committer | Alan Wu <[email protected]> | 2021-10-20 18:19:28 -0400 |
commit | 2e561ff255ea69e50f2d53240332cfd96463ef06 (patch) | |
tree | 3711eca121d493aa1f7a7f4e557333275a905c1e /iseq.c | |
parent | 3c7251b41b8850aab7c64c4885669e9c099d2465 (diff) |
Restore interpreter regs in ujit hook. Implement leave bytecode.
Diffstat (limited to 'iseq.c')
-rw-r--r-- | iseq.c | 13 |
1 files changed, 2 insertions, 11 deletions
@@ -3485,21 +3485,12 @@ trace_set_i(void *vstart, void *vend, size_t stride, void *data) return 0; } -VALUE * -rb_ujit_empty_func(rb_control_frame_t *cfp) +void +rb_ujit_empty_func_with_ec(rb_control_frame_t *cfp, rb_execution_context_t *ec) { - // okay, not really empty, so maybe think of another name. // it's put in this file instead of say, compile.c to dodge long C compile time. // it just needs to be in a different unit from vm.o so the compiler can't see the definition // and is forced to emit a call that respects the calling convention. - return NULL; -} - -VALUE * -rb_ujit_empty_func_with_ec(rb_control_frame_t *cfp, rb_execution_context_t *ec) -{ - // see rb_ujit_empty_func - return NULL; } void |