Add :trace_instruction to the output of RubyVM::InstructionSequence.compile_option
|ruby -v:||ruby 2.0.0dev (2012-07-24 trunk 36515) [x86_64-darwin11.4.0]||Backport:|
: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.
- iseq.c (make_compile_option_value): add trace_instruction option. a patch by davidbalbert (David Albert). [Bug #6786]
#2 Updated by Koichi Sasada almost 3 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100