diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-09-06 07:40:24 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-09-06 07:40:24 +0000 |
commit | bd8da69e9b5df785cc3fa0871332257e09335a78 (patch) | |
tree | 466707aea201a1aa3c26e697156932bd38f325d4 /insns.def | |
parent | 33ff31149464168cfe1d137bff436b6a7d19c357 (diff) | |
download | ruby-bd8da69e9b5df785cc3fa0871332257e09335a78.tar.gz |
* insns.def (setinstancevariable), vm_insnhelper.c (vm_setivar):
fix to use inline cache (trivial optimization).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'insns.def')
-rw-r--r-- | insns.def | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -165,11 +165,11 @@ getinstancevariable */ DEFINE_INSN setinstancevariable -(ID id) +(ID id, IC ic) (VALUE val) () { - rb_ivar_set(GET_SELF(), id, val); + vm_setivar(GET_SELF(), id, val, ic); } /** |