Slide 153
Slide 153 text
to_a
irb> is = RubyVM::InstructionSequence.new '3 +
2'
=>
irb> is.to_a
=> ["YARVInstructionSequence/SimpleDataFormat",
2, 0, 1,
{:arg_size=>0, :local_size=>1, :stack_max=>2},
"", "", nil, 1, :top, [], 0,
[], [[:trace, 1], [:putobject, 3], [:putobject,
2], [:opt_plus, {:mid=>:
+, :flag=>256, :orig_argc=>1, :blockptr=>nil}],
[:leave]]]