Skip to content

Commit 30f32a0

Browse files
committed
bare_instructions.rb: Remove unused always_leaf?
83bc6ce was the last use of it.
1 parent 799d57b commit 30f32a0

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

tool/ruby_vm/models/bare_instructions.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,6 @@ def handles_sp?
107107
/\b(false|0)\b/ !~ @attrs.fetch('handles_sp').expr.expr
108108
end
109109

110-
def always_leaf?
111-
@attrs.fetch('leaf').expr.expr == 'true;'
112-
end
113-
114110
def handle_canary stmt
115111
# Stack canary is basically a good thing that we want to add, however:
116112
#

0 commit comments

Comments
 (0)