Project

General

Profile

Actions

Bug #6786

closed

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

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

Status:
Closed
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

Updated by ko1 (Koichi Sasada) about 12 years ago

  • Target version set to 2.0.0
Actions #2

Updated by ko1 (Koichi Sasada) about 12 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]
Actions

Also available in: Atom PDF

Like0
Like0Like0