Bug #6786

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

Added by David Albert about 3 years ago. Updated over 2 years ago.

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

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.

0001-Added-trace_instruction-compile_option-output.patch Magnifier (751 Bytes) David Albert, 07/24/2012 01:17 PM

Associated revisions

Revision 37860
Added by Koichi Sasada over 2 years ago

  • iseq.c (make_compile_option_value): add trace_instruction option. a patch by davidbalbert (David Albert). [Bug #6786]

Revision 37860
Added by Koichi Sasada over 2 years ago

  • iseq.c (make_compile_option_value): add trace_instruction option. a patch by davidbalbert (David Albert). [Bug #6786]

History

#1 Updated by Koichi Sasada almost 3 years ago

  • Target version set to 2.0.0

#2 Updated by Koichi Sasada over 2 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r37860.
David, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


  • iseq.c (make_compile_option_value): add trace_instruction option. a patch by davidbalbert (David Albert). [Bug #6786]

Also available in: Atom PDF