diff options
author | John Hawthorn <john@hawthorn.email> | 2021-08-30 20:58:53 -0700 |
---|---|---|
committer | Alan Wu <XrXr@users.noreply.github.com> | 2021-10-20 18:19:39 -0400 |
commit | 3ecc6befcdfb14c6bfd345bd6bebd2e84dc32c27 (patch) | |
tree | acb3ff0fd7944c055f90a101cb2aa970ea564051 /yjit.rb | |
parent | fbde1d9bee1da0a27ead6ce3ae7bc4411b10198d (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.rb | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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:') |