[ruby-cvs:72097] nagachika:r64997 (ruby_2_5): merge revision(s) 64514: [Backport #14702]

nagachika at ruby-lang.org nagachika at ruby-lang.org
Thu Oct 11 23:20:26 JST 2018


nagachika	2018-10-11 23:20:25 +0900 (Thu, 11 Oct 2018)

  New Revision: 64997

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64997

  Log:
    merge revision(s) 64514: [Backport #14702]
    
    check trace flags at loading [Bug #14702]
    
    * iseq.c (iseq_init_trace): at ISeq loading time, we need to check
      `ruby_vm_event_enabled_flags` to turn on trace instructions.
      Seprate this checking code from `finish_iseq_build()` and make
      new function. `iseq_ibf_load()` calls this funcation after loading.
    
    * test/ruby/test_iseq.rb: add a test for this fix.

  Modified directories:
    branches/ruby_2_5/
  Modified files:
    branches/ruby_2_5/compile.c
    branches/ruby_2_5/iseq.c
    branches/ruby_2_5/iseq.h
    branches/ruby_2_5/test/ruby/test_iseq.rb
    branches/ruby_2_5/version.h


More information about the ruby-cvs mailing list