Class: RubyVM::Instruction::THROW

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

Instance Method Summary collapse

Instance Method Details

#bytedecode(env) ⇒ Object



771
772
773
774
775
# File 'lib/decompiler/vm/bytedecoder.rb', line 771

def bytedecode(env)
  value = env.stack.pop
  env.remember env.stack.pop
  env.stack.push Expression::Throw.new(env.pc, value)
end