Project

General

Profile

Bug #6786

Add :trace_instruction to the output of RubyVM::InstructionSequence.compile_option

Added by davidbalbert (David Albert) about 8 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Target version:
ruby -v:
ruby 2.0.0dev (2012-07-24 trunk 36515) [x86_64-darwin11.4.0]
Backport:
[ruby-core:46711]

Description

:trace_instruction is a valid iseq compiler option that can be set with compile_option=, but it does not appear in the hash returned by RubyVM::InstructionSequence.compile_option. I've attached a patch that fixes this.


Files

Also available in: Atom PDF