class SyntaxTree::YARV::Nop
### Summary
‘nop` is a no-operation instruction. It is used to pad the instruction sequence so there is a place for other instructions to jump to.
### Usage
~~~ruby raise rescue true ~~~
Public Instance Methods
==(other)
click to toggle source
# File lib/syntax_tree/yarv/instructions.rb, line 2536 def ==(other) other.is_a?(Nop) end
call(vm)
click to toggle source
# File lib/syntax_tree/yarv/instructions.rb, line 2540 def call(vm) end
deconstruct_keys(_keys)
click to toggle source
# File lib/syntax_tree/yarv/instructions.rb, line 2532 def deconstruct_keys(_keys) {} end
disasm(fmt)
click to toggle source
# File lib/syntax_tree/yarv/instructions.rb, line 2524 def disasm(fmt) fmt.instruction("nop") end
side_effects?()
click to toggle source
# File lib/syntax_tree/yarv/instructions.rb, line 2543 def side_effects? false end
to_a(_iseq)
click to toggle source
# File lib/syntax_tree/yarv/instructions.rb, line 2528 def to_a(_iseq) [:nop] end