summaryrefslogtreecommitdiff
path: root/yjit_codegen.c
diff options
context:
space:
mode:
authorAlan Wu <[email protected]>2021-06-21 19:26:50 -0400
committerAlan Wu <[email protected]>2021-10-20 18:19:36 -0400
commit89110590a3864e4af1fd62df0182396b86ab17f3 (patch)
tree3e956973ec05c78d66fa50fb7b0f08d8f412ac90 /yjit_codegen.c
parentda20ff1644a274aff4d5ad22c649c85d83e7e311 (diff)
Disable invokesuper codegen for now. Add test
The added test fails with SystemStackError with --yjit-call-threshold=1.
Diffstat (limited to 'yjit_codegen.c')
-rw-r--r--yjit_codegen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/yjit_codegen.c b/yjit_codegen.c
index 282231ae44..46d7281358 100644
--- a/yjit_codegen.c
+++ b/yjit_codegen.c
@@ -2974,6 +2974,7 @@ gen_send(jitstate_t *jit, ctx_t *ctx)
return gen_send_general(jit, ctx, cd, block);
}
+RBIMPL_ATTR_MAYBE_UNUSED() // not in use as it has problems in some situations.
static codegen_status_t
gen_invokesuper(jitstate_t *jit, ctx_t *ctx)
{
@@ -3355,6 +3356,5 @@ yjit_init_codegen(void)
yjit_reg_op(BIN(getblockparamproxy), gen_getblockparamproxy);
yjit_reg_op(BIN(opt_send_without_block), gen_opt_send_without_block);
yjit_reg_op(BIN(send), gen_send);
- yjit_reg_op(BIN(invokesuper), gen_invokesuper);
yjit_reg_op(BIN(leave), gen_leave);
}