aboutsummaryrefslogtreecommitdiffstats
path: root/process.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-26 14:44:09 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-26 14:44:09 +0000
commit43bb0238ee52c34aab58b1c2b7afb75751209148 (patch)
tree483d44cf0a4f826772fde788eb02b61fdd238b13 /process.c
parent25c82f2c1233c2526d4e2f747f010864e0575bac (diff)
downloadruby-43bb0238ee52c34aab58b1c2b7afb75751209148.tar.gz
replace `GET_THREAD()->ec` to `GET_EC()`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
-rw-r--r--process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/process.c b/process.c
index ff289435bf..16d489a7ec 100644
--- a/process.c
+++ b/process.c
@@ -3765,7 +3765,7 @@ rb_f_exit_bang(int argc, VALUE *argv, VALUE obj)
void
rb_exit(int status)
{
- if (GET_THREAD()->ec->tag) {
+ if (GET_EC()->tag) {
VALUE args[2];
args[0] = INT2NUM(status);