diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-27 01:22:01 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-27 01:22:01 +0000 |
commit | 34ff953e37b9a96be57d73bb3c73d8c22c2ac98e (patch) | |
tree | 40fee8a826739702468e31fee63f81f415383dbb /insns.def | |
parent | 9d41e743987553183a6ef1df8913d3fc5423c2e0 (diff) |
Some functions accept `ec` instead of `th`.
* vm_insnhelper.c: The following functions accept `ec` instead of `th`.
* lep_svar
* lep_svar_write
* lep_svar_get
* lep_svar_set
* vm_getspecial
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'insns.def')
-rw-r--r-- | insns.def | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -138,7 +138,7 @@ getspecial () (VALUE val) { - val = vm_getspecial(th, GET_LEP(), key, type); + val = vm_getspecial(th->ec, GET_LEP(), key, type); } /** @@ -152,7 +152,7 @@ setspecial (VALUE obj) () { - lep_svar_set(th, GET_LEP(), key, obj); + lep_svar_set(th->ec, GET_LEP(), key, obj); } /** |