Class: RubyVM::Instruction::GETSPECIAL

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

Instance Method Summary collapse

Instance Method Details

#bytedecode(env) ⇒ Object



647
648
649
650
651
# File 'lib/decompiler/vm/bytedecoder.rb', line 647

def bytedecode(env)
  type = @operands[1] >> 1
  type += ?0.ord if type < 10
  env.stack.push Expression::Variable.new(env.pc, "$#{type.chr}")
end