diff options
author | Aaron Patterson <tenderlove@ruby-lang.org> | 2021-07-15 11:09:08 -0700 |
---|---|---|
committer | Alan Wu <XrXr@users.noreply.github.com> | 2021-10-20 18:19:37 -0400 |
commit | 05b5a7f01139a3c9610b80194e4385928dd4cd55 (patch) | |
tree | 78c9436e69de0b12b2073ba1b4a5c103dd920b28 /yjit_iface.h | |
parent | 0fdcdd267f7c3a482467f60e00049b88da1ae88c (diff) |
Add a guard that we start executing on the first PC
Methods with optional parameters don't always start executing at the
first PC, but we compile all methods assuming that they do. This commit
adds a guard to ensure that we're actually starting at the first PC for
methods with optional params
Diffstat (limited to 'yjit_iface.h')
-rw-r--r-- | yjit_iface.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/yjit_iface.h b/yjit_iface.h index 4f63cdb974..d2fad40194 100644 --- a/yjit_iface.h +++ b/yjit_iface.h @@ -48,6 +48,7 @@ YJIT_DECLARE_COUNTERS( leave_se_interrupt, leave_interp_return, + leave_start_pc_non_zero, getivar_se_self_not_heap, getivar_idx_out_of_range, |