ruby-changes:48446
From: ko1 <ko1@a...>
Date: Mon, 30 Oct 2017 00:27:10 +0900 (JST)
Subject: [ruby-changes:48446] ko1:r60560 (trunk): use given `ec`.
ko1 2017-10-30 00:27:07 +0900 (Mon, 30 Oct 2017) New Revision: 60560 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=60560 Log: use given `ec`. Modified files: trunk/vm_core.h Index: vm_core.h =================================================================== --- vm_core.h (revision 60559) +++ vm_core.h (revision 60560) @@ -1728,8 +1728,8 @@ ruby_exec_event_hook_orig(rb_execution_c https://github.com/ruby/ruby/blob/trunk/vm_core.h#L1728 if ((th->event_hooks.events | th->vm->event_hooks.events) & flag) { struct rb_trace_arg_struct trace_arg; trace_arg.event = flag; - trace_arg.ec = th->ec; - trace_arg.cfp = th->ec->cfp; + trace_arg.ec = ec; + trace_arg.cfp = ec->cfp; trace_arg.self = self; trace_arg.id = id; trace_arg.called_id = called_id; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/