class SyntaxTree::YARV::Leave
### Summary
‘leave` exits the current frame.
### Usage
~~~ruby ;; ~~~
Public Instance Methods
Source
# File lib/syntax_tree/yarv/instructions.rb, line 2329 def ==(other) other.is_a?(Leave) end
Source
# File lib/syntax_tree/yarv/instructions.rb, line 2325 def deconstruct_keys(_keys) {} end
Source
# File lib/syntax_tree/yarv/instructions.rb, line 2317 def disasm(fmt) fmt.instruction("leave") end
Source
# File lib/syntax_tree/yarv/instructions.rb, line 2337 def pushes # TODO: This is wrong. It should be 1. But it's 0 for now because # otherwise the stack size is incorrectly calculated. 0 end
Source
# File lib/syntax_tree/yarv/instructions.rb, line 2321 def to_a(_iseq) [:leave] end