summaryrefslogtreecommitdiff
path: root/yjit.rb
diff options
context:
space:
mode:
authorJohn Hawthorn <john@hawthorn.email>2021-08-30 20:58:53 -0700
committerAlan Wu <XrXr@users.noreply.github.com>2021-10-20 18:19:39 -0400
commit3ecc6befcdfb14c6bfd345bd6bebd2e84dc32c27 (patch)
treeacb3ff0fd7944c055f90a101cb2aa970ea564051 /yjit.rb
parentfbde1d9bee1da0a27ead6ce3ae7bc4411b10198d (diff)
Implement invokesuper using cfp->ep[ME] check
This fixes and re-enables invokesuper, replacing the existing guards with a guard on the method entry for the EP.
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 9556f07ad6..3fa91cfebc 100644
--- a/yjit.rb
+++ b/yjit.rb
@@ -159,6 +159,7 @@ module YJIT
$stderr.puts("Number of locals modified through binding: %d\n" % stats[:binding_set])
print_counters(stats, prefix: 'send_', prompt: 'method call exit reasons: ')
+ print_counters(stats, prefix: 'invokesuper_', prompt: 'invokesuper exit reasons: ')
print_counters(stats, prefix: 'leave_', prompt: 'leave exit reasons: ')
print_counters(stats, prefix: 'getivar_', prompt: 'getinstancevariable exit reasons:')
print_counters(stats, prefix: 'setivar_', prompt: 'setinstancevariable exit reasons:')