summaryrefslogtreecommitdiff
path: root/ujit_iface.h
diff options
context:
space:
mode:
authorAlan Wu <XrXr@users.noreply.github.com>2021-03-03 16:29:54 -0500
committerAlan Wu <XrXr@users.noreply.github.com>2021-10-20 18:19:30 -0400
commit8a9ee00a318d25145b3262277864c5599271bb6a (patch)
treebb53f3452adfa61827038ee78b591e3d505842da /ujit_iface.h
parentb3b3a8c62020caca849e4b3a1325eb53811e6f7a (diff)
downloadruby-8a9ee00a318d25145b3262277864c5599271bb6a.tar.gz
uJIT: add guards for protected opt_send_without_block calls
These account for about 12% of the time when we were bailing from calls in railsbench. `ratio_in_ujit` went up 0.1% with this change.
Diffstat (limited to 'ujit_iface.h')
-rw-r--r--ujit_iface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ujit_iface.h b/ujit_iface.h
index 2542e21590..e0addb3574 100644
--- a/ujit_iface.h
+++ b/ujit_iface.h
@@ -33,7 +33,6 @@ UJIT_DECLARE_COUNTERS(
oswb_kw_splat,
oswb_ic_empty,
oswb_invalid_cme,
- oswb_protected,
oswb_ivar_set_method,
oswb_ivar_get_method,
oswb_zsuper_method,
@@ -54,6 +53,7 @@ UJIT_DECLARE_COUNTERS(
oswb_se_receiver_not_heap,
oswb_se_cf_overflow,
oswb_se_cc_klass_differ,
+ oswb_se_protected_check_failed,
// Member with known name for iterating over counters
last_member