summaryrefslogtreecommitdiff
path: root/yjit.c
diff options
context:
space:
mode:
authorAlan Wu <[email protected]>2024-04-19 12:47:25 -0400
committerGitHub <[email protected]>2024-04-19 16:47:25 +0000
commitc8783441952217c18e523749c821f82cd7e5d222 (patch)
treeae668b335308723830fecaa6f0cf3ee159741b21 /yjit.c
parent2e80ceb6ff5be3ccb710006aa87e27f2f564fdd0 (diff)
Revert "YJIT: Optimize local variables when EP == BP" (#10584)
This reverts commit 4cc58ea0b865f2fd20f1e881ddbd4c4fab0b072c. Since the change landed call-threshold=1 CI runs have been timing out. There has also been `verify-ctx` violations. Revert for now while we debug.
Diffstat (limited to 'yjit.c')
-rw-r--r--yjit.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/yjit.c b/yjit.c
index 8ae010ac40..ffd180429e 100644
--- a/yjit.c
+++ b/yjit.c
@@ -629,12 +629,6 @@ rb_get_iseq_body_stack_max(const rb_iseq_t *iseq)
return iseq->body->stack_max;
}
-enum rb_iseq_type
-rb_get_iseq_body_type(const rb_iseq_t *iseq)
-{
- return iseq->body->type;
-}
-
bool
rb_get_iseq_flags_has_lead(const rb_iseq_t *iseq)
{