summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2025-09-05 09:24:56 -0700
committerTakashi Kokubun <takashikkbn@gmail.com>2025-09-05 09:24:56 -0700
commit30f32a048cdb5d854a413675b8b94b8feffc628e (patch)
treeb9150bb01716d06e2298df2c1045c46bb92fa824
parent799d57bd0178168c977cc0c2b45ff3a5f01d1297 (diff)
bare_instructions.rb: Remove unused always_leaf?
83bc6ced920c51ffc3783b03f2e1c7f89f5c2fd5 was the last use of it.
-rw-r--r--tool/ruby_vm/models/bare_instructions.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/tool/ruby_vm/models/bare_instructions.rb b/tool/ruby_vm/models/bare_instructions.rb
index 906a252068..8ec7c9245c 100644
--- a/tool/ruby_vm/models/bare_instructions.rb
+++ b/tool/ruby_vm/models/bare_instructions.rb
@@ -107,10 +107,6 @@ class RubyVM::BareInstructions
/\b(false|0)\b/ !~ @attrs.fetch('handles_sp').expr.expr
end
- def always_leaf?
- @attrs.fetch('leaf').expr.expr == 'true;'
- end
-
def handle_canary stmt
# Stack canary is basically a good thing that we want to add, however:
#