diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2023-02-17 12:44:39 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-17 12:44:39 -0800 |
commit | 034d5ee43c426c8a767fbdc12a9f0fc0ce9af030 (patch) | |
tree | 6db3cfa5c06e28e7082b2d656efb212dc5a1057a /yjit/src/stats.rs | |
parent | 0d8ef62fc293dc04110f36382a7e8bddec6aee15 (diff) | |
download | ruby-034d5ee43c426c8a767fbdc12a9f0fc0ce9af030.tar.gz |
YJIT: Use rb_ivar_get at the end of ivar chains (#7334)
* YJIT: Use rb_ivar_get at the end of ivar chains
* Rename the counter to get_ivar_max_depth
Diffstat (limited to 'yjit/src/stats.rs')
-rw-r--r-- | yjit/src/stats.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/yjit/src/stats.rs b/yjit/src/stats.rs index 49a4e43295..666816b2e9 100644 --- a/yjit/src/stats.rs +++ b/yjit/src/stats.rs @@ -283,6 +283,9 @@ make_counters! { setivar_frozen, setivar_megamorphic, + // Not using "getivar_" to exclude this from exit reasons + get_ivar_max_depth, + oaref_argc_not_one, oaref_arg_not_fixnum, |