Project

General

Profile

Bug #8543 » iseq-load-test3.rb

Program which calls RubyVM::InstructionSequence.load - spatulasnout (B Kelly), 04/16/2014 10:03 AM

 

# per: [ruby-core:55557] [ruby-trunk - misc #8543][Open] rb_iseq_load

iseq = RubyVM::InstructionSequence.compile_file("./iseq-load-test3-file.rb")
iseq = RubyVM::InstructionSequence.load(iseq.to_a)
iseq.eval
(3-3/6)