diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-26 10:55:24 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-26 10:55:24 +0000 |
commit | 284d4c08d66d15b299c9b483a80131d73a617af4 (patch) | |
tree | 8fc08f2bc61f9b4ac4997e390c4cac1e3be86775 /vm_trace.c | |
parent | 9adf6064ce7e5672cd7a91fd597e21917608a0c8 (diff) |
vm_pop_frame() accepts `ec` instead of `th`.
* vm_insnhelper.c (vm_pop_frame): accepts `ec` instead of `th`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_trace.c')
-rw-r--r-- | vm_trace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_trace.c b/vm_trace.c index ef9ccb653c..11a4f34a36 100644 --- a/vm_trace.c +++ b/vm_trace.c @@ -352,7 +352,7 @@ rb_threadptr_exec_event_hooks_orig(rb_trace_arg_t *trace_arg, int pop_p) if (VM_FRAME_FINISHED_P(th->ec->cfp)) { th->ec->tag = th->ec->tag->prev; } - rb_vm_pop_frame(th); + rb_vm_pop_frame(th->ec); } TH_JUMP_TAG(th, state); } |