From 30f32a048cdb5d854a413675b8b94b8feffc628e Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Fri, 5 Sep 2025 09:24:56 -0700 Subject: bare_instructions.rb: Remove unused always_leaf? 83bc6ced920c51ffc3783b03f2e1c7f89f5c2fd5 was the last use of it. --- tool/ruby_vm/models/bare_instructions.rb | 4 ---- 1 file changed, 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: # -- cgit v1.2.3