mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* vm_insnhelper.c (vm_search_method): fix a build error that occurs
when OPT_INLINE_METHOD_CACHE is 0. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
5e2625eebd
commit
8f58f60643
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Wed Oct 17 10:48:40 2012 Shugo Maeda <shugo@ruby-lang.org>
|
||||
|
||||
* vm_insnhelper.c (vm_search_method): fix a build error that occurs
|
||||
when OPT_INLINE_METHOD_CACHE is 0.
|
||||
|
||||
Wed Oct 17 08:46:47 2012 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* benchmark/bm_vm2_dstr.rb: add a benchmark to measure
|
||||
|
|
|
@ -857,7 +857,7 @@ vm_search_method(rb_call_info_t *ci, VALUE recv)
|
|||
ci->call = vm_call_general;
|
||||
}
|
||||
#else
|
||||
ci->method = rb_method_entry(klass, id, &ci->defined_class);
|
||||
ci->me = rb_method_entry(klass, ci->mid, &ci->defined_class);
|
||||
ci->call = vm_call_general;
|
||||
ci->klass = klass;
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue