diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-10-16 17:07:23 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-10-16 17:07:23 +0000 |
commit | db1e99cdad846fd2bab426ae0cc39c7321fae427 (patch) | |
tree | 8cd849251f7390b3bfbb0ddd23eda2e94d944f6d /ChangeLog | |
parent | aedc460fed41f3e77f8970b51b8027f633691337 (diff) | |
download | ruby-db1e99cdad846fd2bab426ae0cc39c7321fae427.tar.gz |
* vm_insnhelper.c (vm_getivar, vm_setivar): support index inline cache
with rb_call_info_t to speedup `attr' getter and setter.
Cached index is stored in rb_call_info_t::aux::index.
`index' == 0 means not cached. `index' > 0 means cached and cached
index is `index - 1'.
* insns.def ((get|set)instancevariable): use new wrapper functions
vm_(get|set)instancevariable() defined in vm_insnhelper.c.
* vm_core.h (rb_call_info_t::aux): introduce new union data because
opt_pc can share with index.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -1,3 +1,17 @@ +Wed Oct 17 01:53:47 2012 Koichi Sasada <ko1@atdot.net> + + * vm_insnhelper.c (vm_getivar, vm_setivar): support index inline cache + with rb_call_info_t to speedup `attr' getter and setter. + Cached index is stored in rb_call_info_t::aux::index. + `index' == 0 means not cached. `index' > 0 means cached and cached + index is `index - 1'. + + * insns.def ((get|set)instancevariable): use new wrapper functions + vm_(get|set)instancevariable() defined in vm_insnhelper.c. + + * vm_core.h (rb_call_info_t::aux): introduce new union data because + opt_pc can share with index. + Tue Oct 16 22:24:44 2012 Koichi Sasada <ko1@atdot.net> * benchmark/driver.rb (show_results): Show speedup ratio |