Class: RubyVM::Instruction::NEWHASH
- Inherits:
-
Object
- Object
- RubyVM::Instruction::NEWHASH
- Defined in:
- lib/decompiler/vm/bytedecoder.rb
Instance Method Summary collapse
Instance Method Details
#bytedecode(env) ⇒ Object
572 573 574 575 576 577 578 579 580 |
# File 'lib/decompiler/vm/bytedecoder.rb', line 572 def bytedecode(env) i = @operands[0] args = [] while i > 0 do args.unshift env.stack.pop i -= 1 end env.stack.push Expression::Hash.new(env.pc, args) end |