Class: RubyVM::Instruction::SETDYNAMIC
- Inherits:
-
Object
- Object
- RubyVM::Instruction::SETDYNAMIC
- Defined in:
- lib/decompiler/vm/bytedecoder.rb
Instance Method Summary collapse
Instance Method Details
#bytedecode(env) ⇒ Object
719 720 721 722 723 724 |
# File 'lib/decompiler/vm/bytedecoder.rb', line 719 def bytedecode(env) idx = env.local_table.size - @operands[0] name = env.local_table[idx] value = env.stack.pop env.stack.push Expression::Assignment.new(env.pc, name, value) end |