summaryrefslogtreecommitdiff
path: root/yjit/src/stats.rs
diff options
context:
space:
mode:
authorAaron Patterson <tenderlove@ruby-lang.org>2023-01-05 17:13:08 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2023-01-05 17:49:30 -0800
commit6c618cb78922b1666210c9289cd242f87186517f (patch)
tree3e3da7975157d52cc955b107f0e03300ef5efd71 /yjit/src/stats.rs
parent979dd02e2f0a70f3f30d47c6115780d8fac6147e (diff)
downloadruby-6c618cb78922b1666210c9289cd242f87186517f.tar.gz
Use a different name for megamorphic setivar exits
We should differentiate between set and get for megamorphic exits. This patch fixes the megamorphic exit name in gen_setinstancevariable so that we can tell the difference between megamorphic get / set sites
Diffstat (limited to 'yjit/src/stats.rs')
-rw-r--r--yjit/src/stats.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/yjit/src/stats.rs b/yjit/src/stats.rs
index 91e4ec078f..8fc9245364 100644
--- a/yjit/src/stats.rs
+++ b/yjit/src/stats.rs
@@ -256,6 +256,7 @@ make_counters! {
setivar_name_not_mapped,
setivar_not_object,
setivar_frozen,
+ setivar_megamorphic,
oaref_argc_not_one,
oaref_arg_not_fixnum,