Class: RubyVM::Instruction::GETDYNAMIC

Inherits:
Object
  • Object
show all
Defined in:
lib/decompiler/vm/bytedecoder.rb

Instance Method Summary collapse

Instance Method Details

#bytedecode(env) ⇒ Object



728
729
730
731
732
# File 'lib/decompiler/vm/bytedecoder.rb', line 728

def bytedecode(env)
  idx = env.local_table.size - @operands[0]
  name = env.local_table[idx]
  env.stack.push Expression::Variable.new(env.pc, name)
end