aboutsummaryrefslogtreecommitdiffstats
path: root/safe.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-28 10:47:19 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-28 10:47:19 +0000
commit71965aca1b34d17975012594bd152470b3890294 (patch)
treef5db75e2d2d7b2abb748328c18bb6759e5ebdb04 /safe.c
parentb17b76ea94476589d344468ccf455c6da2463632 (diff)
downloadruby-71965aca1b34d17975012594bd152470b3890294.tar.gz
`th` -> `ec` for some functions.
* vm.c (rb_vm_get_binding_creatable_next_cfp): accepts `ec` instead of `th`. * vm.c (rb_vm_stack_to_heap): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'safe.c')
-rw-r--r--safe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/safe.c b/safe.c
index 9e57346142..540970c9f2 100644
--- a/safe.c
+++ b/safe.c
@@ -82,7 +82,7 @@ safe_setter(VALUE val)
}
/* block parameters */
- rb_vm_stack_to_heap(th);
+ rb_vm_stack_to_heap(th->ec);
th->ec->safe_level = level;
}