summaryrefslogtreecommitdiff
path: root/iseq.c
diff options
context:
space:
mode:
authorMaxime Chevalier-Boisvert <maxime.chevalierboisvert@shopify.com>2021-01-28 16:58:20 -0500
committerAlan Wu <XrXr@users.noreply.github.com>2021-10-20 18:19:28 -0400
commit2e561ff255ea69e50f2d53240332cfd96463ef06 (patch)
tree3711eca121d493aa1f7a7f4e557333275a905c1e /iseq.c
parent3c7251b41b8850aab7c64c4885669e9c099d2465 (diff)
Restore interpreter regs in ujit hook. Implement leave bytecode.
Diffstat (limited to 'iseq.c')
-rw-r--r--iseq.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/iseq.c b/iseq.c
index d4d5261c3c..958f7f847f 100644
--- a/iseq.c
+++ b/iseq.c
@@ -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