From 05b5a7f01139a3c9610b80194e4385928dd4cd55 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Thu, 15 Jul 2021 11:09:08 -0700 Subject: 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 --- yjit_iface.h | 1 + 1 file changed, 1 insertion(+) (limited to 'yjit_iface.h') 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, -- cgit v1.2.3