diff options
author | Takashi Kokubun <[email protected]> | 2024-04-17 12:00:03 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2024-04-17 15:00:03 -0400 |
commit | 4cc58ea0b865f2fd20f1e881ddbd4c4fab0b072c (patch) | |
tree | 1587d79e55cc448e08ae30f8c4a3175f8195b1cc /yjit.c | |
parent | ca764062b06f1bb587048bcf374b25a0903ca9e7 (diff) |
YJIT: Optimize local variables when EP == BP (#10487)
Diffstat (limited to 'yjit.c')
-rw-r--r-- | yjit.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -629,6 +629,12 @@ 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) { |