diff options
Diffstat (limited to 'tool/ruby_vm/models/bare_instructions.rb')
-rwxr-xr-x | tool/ruby_vm/models/bare_instructions.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tool/ruby_vm/models/bare_instructions.rb b/tool/ruby_vm/models/bare_instructions.rb index b0cc83a65a..6b5f1f6cf8 100755 --- a/tool/ruby_vm/models/bare_instructions.rb +++ b/tool/ruby_vm/models/bare_instructions.rb @@ -112,6 +112,10 @@ class RubyVM::BareInstructions @attrs.fetch('leaf').expr.expr == 'true;' end + def leaf_without_check_ints? + @attrs.fetch('leaf').expr.expr == 'leafness_of_check_ints;' + end + def handle_canary stmt # Stack canary is basically a good thing that we want to add, however: # |