replace GET_THREAD()->ec to GET_EC().

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ko1 2017-10-26 14:44:09 +00:00
parent d77305fc9c
commit f56288d7a8
10 changed files with 20 additions and 20 deletions

View file

@ -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);