diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-09-06 09:16:23 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-09-06 09:16:23 +0000 |
commit | caa36ef95594ed80bd8b01fbdb3fecbe7f8ff32f (patch) | |
tree | db98343cd55b8a4782f4b5f80b1e376a6a7aa97f /insns.def | |
parent | bdff9d07e57e58017dc34faca7a80c3784299b07 (diff) | |
download | ruby-caa36ef95594ed80bd8b01fbdb3fecbe7f8ff32f.tar.gz ruby-caa36ef95594ed80bd8b01fbdb3fecbe7f8ff32f.tar.xz ruby-caa36ef95594ed80bd8b01fbdb3fecbe7f8ff32f.zip |
* vm_insnhelper.h (CALL_SIMPLE_METHOD_IC): make a macro
invoke simple method with inline cache entry.
* insns.def (opt_length, opt_size): fix to use inline method cache.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'insns.def')
-rw-r--r-- | insns.def | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1917,7 +1917,7 @@ opt_aset */ DEFINE_INSN opt_length -() +(IC ic) (VALUE recv) (VALUE val) { @@ -1939,7 +1939,7 @@ opt_length else { INSN_LABEL(normal_dispatch): PUSH(recv); - CALL_SIMPLE_METHOD(0, idLength, recv); + CALL_SIMPLE_METHOD_IC(0, idLength, recv, ic); } } @@ -1950,7 +1950,7 @@ opt_length */ DEFINE_INSN opt_size -() +(IC ic) (VALUE recv) (VALUE val) { @@ -1972,7 +1972,7 @@ opt_size else { INSN_LABEL(normal_dispatch): PUSH(recv); - CALL_SIMPLE_METHOD(0, idSize, recv); + CALL_SIMPLE_METHOD_IC(0, idSize, recv, ic); } } |