1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
ko1 2017-10-28 10:47:19 +00:00
parent 9ca5088428
commit 5a7bd5349c
5 changed files with 13 additions and 13 deletions

2
safe.c
View file

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