Class: RubyVM::Instruction::CONCATARRAY

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

Instance Method Summary collapse

Instance Method Details

#bytedecode(env) ⇒ Object



779
780
781
782
783
# File 'lib/decompiler/vm/bytedecoder.rb', line 779

def bytedecode(env)
  splat = env.stack.pop
  array = env.stack.pop
  env.stack.push Expression::ConcatArray.new(array, splat)
end