Class: RubyVM::Instruction::TOPN
- Inherits:
-
Object
- Object
- RubyVM::Instruction::TOPN
- Defined in:
- lib/decompiler/vm/bytedecoder.rb
Instance Method Summary collapse
-
#bytedecode(env) ⇒ Object
get nth stack entry from stack top.
Instance Method Details
#bytedecode(env) ⇒ Object
get nth stack entry from stack top
749 750 751 752 753 |
# File 'lib/decompiler/vm/bytedecoder.rb', line 749 def bytedecode(env) n = @operands[0] idx = -(n+1) env.stack[idx] end |