summaryrefslogtreecommitdiff
path: root/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'thread.c')
-rw-r--r--thread.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/thread.c b/thread.c
index 5084e9789e..642d48f81c 100644
--- a/thread.c
+++ b/thread.c
@@ -2167,12 +2167,12 @@ rb_threadptr_signal_exit(rb_thread_t *th)
#endif
int
-rb_threadptr_set_raised(rb_thread_t *th)
+rb_ec_set_raised(rb_execution_context_t *ec)
{
- if (th->ec->raised_flag & RAISED_EXCEPTION) {
+ if (ec->raised_flag & RAISED_EXCEPTION) {
return 1;
}
- th->ec->raised_flag |= RAISED_EXCEPTION;
+ ec->raised_flag |= RAISED_EXCEPTION;
return 0;
}