diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-10-09 05:33:54 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-10-09 05:33:54 +0000 |
commit | 7ea3edc409dc6d383df9bc10d0034a6ecddb84dc (patch) | |
tree | cafccae4237491cdb82afeaa1e07dbe330907fab /vm_insnhelper.h | |
parent | 4be0c562a4b3e1bc6f185cf8fbd636b9e8ebb7f4 (diff) | |
download | ruby-7ea3edc409dc6d383df9bc10d0034a6ecddb84dc.tar.gz |
* vm_core.h (rb_call_info_t): add new type `rb_call_inf_t'.
This data structure contains information including inline method
cache. After that, `struct iseq_inline_cache_entry' does not
need to contain inline cache for method invocation.
Other information will be added to this data structure.
* vm_core.h (rb_iseq_t): add `callinfo_entries' and `callinfo_size'
members to `rb_iseq_t'.
* insns.def, compile.c: Use CALL_INFO instead of IC.
* tool/instruction.rb: support CALL_INFO as operand type.
* vm_insnhelper.c, vm_insnhelper.h: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_insnhelper.h')
-rw-r--r-- | vm_insnhelper.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_insnhelper.h b/vm_insnhelper.h index 11833386f2..8b8da831a3 100644 --- a/vm_insnhelper.h +++ b/vm_insnhelper.h @@ -239,7 +239,7 @@ enum vm_regan_acttype { #define CALL_SIMPLE_METHOD(num, id, recv) do { \ VALUE klass = CLASS_OF(recv), defined_class; \ - const rb_method_entry_t *me = vm_method_search((id), klass, ic, &defined_class); \ + const rb_method_entry_t *me = vm_method_search((id), klass, ci, &defined_class); \ CALL_METHOD((num), 0, 0, (id), me, (recv), defined_class); \ } while (0) |