aboutsummaryrefslogtreecommitdiffstats
path: root/vm_trace.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm_trace.c')
-rw-r--r--vm_trace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_trace.c b/vm_trace.c
index bdf0b83057..f26808fa63 100644
--- a/vm_trace.c
+++ b/vm_trace.c
@@ -292,7 +292,7 @@ exec_hooks_protected(rb_execution_context_t *ec, rb_hook_list_t *list, const rb_
EC_POP_TAG();
if (raised) {
- rb_threadptr_set_raised(rb_ec_thread_ptr(ec));
+ rb_ec_set_raised(ec);
}
return state;