Class: RubyVM::Instruction::GETCONSTANT

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

Instance Method Summary collapse

Instance Method Details

#bytedecode(env) ⇒ Object



632
633
634
635
# File 'lib/decompiler/vm/bytedecoder.rb', line 632

def bytedecode(env)
  klass = env.stack.pop
  env.stack.push Expression::Constant.new(env.pc, klass, @operands[0])
end