[ruby-cvs:68104] ko1:r60923 (trunk): check ruby_vm_event_flags everytime.

ko1 at ruby-lang.org ko1 at ruby-lang.org
Tue Nov 28 11:27:47 JST 2017


ko1	2017-11-28 11:27:47 +0900 (Tue, 28 Nov 2017)

  New Revision: 60923

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

  Log:
    check ruby_vm_event_flags everytime.
    
    * vm_insnhelper.c (vm_trace): use EXEC_EVENT_HOOK() instead of
      EXEC_EVENT_HOOK_VM_TRACE(). The latter macro assumes
      `ruby_vm_event_flags` is constant in `vm_trace()` function,
      but it can be changed in hook functions.
    
    * vm_core.h (EXEC_EVENT_HOOK_VM_TRACE): removed.

  Modified files:
    trunk/vm_core.h
    trunk/vm_insnhelper.c


More information about the ruby-cvs mailing list