summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtool/ruby_vm/models/bare_instructions.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/tool/ruby_vm/models/bare_instructions.rb b/tool/ruby_vm/models/bare_instructions.rb
index 740949c752..30a6e0ff88 100755
--- a/tool/ruby_vm/models/bare_instructions.rb
+++ b/tool/ruby_vm/models/bare_instructions.rb
@@ -102,11 +102,11 @@ class RubyVM::BareInstructions
end
def handles_sp?
- /\b(false|0)\b/ !~ @attrs['handles_sp'].expr.expr
+ /\b(false|0)\b/ !~ @attrs.fetch('handles_sp').expr.expr
end
def always_leaf?
- @attrs['leaf'].expr.expr == 'true;'
+ @attrs.fetch('leaf').expr.expr == 'true;'
end
def complicated_return_values?