aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--vm_insnhelper.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 32c61ca6e4..c4dbe53ce7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
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