summaryrefslogtreecommitdiff
path: root/yjit.rb
diff options
context:
space:
mode:
authorywenc <ywenc@github.com>2023-07-26 10:38:59 -0400
committerGitHub <noreply@github.com>2023-07-26 10:38:59 -0400
commit8ca399d64023fd13bd17bc38132610ccb2ccc598 (patch)
treef2d178cb6184c4a401a08c9a551c9e7b23ef11e1 /yjit.rb
parent786a864900ceee6ed89d7df81698bbbe7e7bd6ae (diff)
Implement `opt_aref_with` instruction (#8118)
Implement gen_opt_aref_with Vm opt_aref_with is available Test opt_aref_with Stats for opt_aref_with Co-authored-by: jhawthorn <jhawthorn@github.com>
Notes
Notes: Merged-By: maximecb <maximecb@ruby-lang.org>
Diffstat (limited to 'yjit.rb')
-rw-r--r--yjit.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/yjit.rb b/yjit.rb
index 394554b7e3..3308be60c6 100644
--- a/yjit.rb
+++ b/yjit.rb
@@ -259,6 +259,7 @@ module RubyVM::YJIT
print_counters(stats, out: out, prefix: 'setivar_', prompt: 'setinstancevariable exit reasons:')
print_counters(stats, out: out, prefix: 'definedivar_', prompt: 'definedivar exit reasons:')
print_counters(stats, out: out, prefix: 'opt_aref_', prompt: 'opt_aref exit reasons: ')
+ print_counters(stats, out: out, prefix: 'opt_aref_with_', prompt: 'opt_aref_with exit reasons: ')
print_counters(stats, out: out, prefix: 'expandarray_', prompt: 'expandarray exit reasons: ')
print_counters(stats, out: out, prefix: 'opt_getinlinecache_', prompt: 'opt_getinlinecache exit reasons: ')
print_counters(stats, out: out, prefix: 'invalidate_', prompt: 'invalidation reasons: ')