summaryrefslogtreecommitdiff
path: root/vm_insnhelper.c
diff options
context:
space:
mode:
authorshugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-10-17 01:50:53 +0000
committershugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-10-17 01:50:53 +0000
commit8f58f60643638add42658d51114abe36dc8257fd (patch)
tree016e3c8d055c3151bd5dab0b45733360feab88ca /vm_insnhelper.c
parent5e2625eebd5ab1c1224ea35d70ad544e67a4ee41 (diff)
* 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
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r--vm_insnhelper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c
index 2cd521a8da..5f826b73fc 100644
--- a/vm_insnhelper.c
+++ b/vm_insnhelper.c
@@ -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