summaryrefslogtreecommitdiff
path: root/vm_insnhelper.c
diff options
context:
space:
mode:
authorkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-06-16 14:42:02 +0000
committerkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-06-16 14:42:02 +0000
commit3c23284734b60dac99339c300dff6c4bd2c226f4 (patch)
tree0fcf8c443b9ec1dc3282bbf8e0a3570f0f8ade50 /vm_insnhelper.c
parente80b506ed9798ed9fc8af520cf9243e7de1cdab9 (diff)
* thread.c (rb_thread_schedule_rec): fix {UN,}LIKELY macro misuse.
* gc.c (rb_newobj): ditto. * vm_insnhelper.c (vm_method_search): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r--vm_insnhelper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c
index f40dfdfb8a..6e45574b17 100644
--- a/vm_insnhelper.c
+++ b/vm_insnhelper.c
@@ -1345,8 +1345,8 @@ vm_method_search(VALUE id, VALUE klass, IC ic)
{
rb_method_entry_t *me;
#if OPT_INLINE_METHOD_CACHE
- if (LIKELY(klass == ic->ic_class) &&
- LIKELY(GET_VM_STATE_VERSION() == ic->ic_vmstat)) {
+ if (LIKELY(klass == ic->ic_class &&
+ GET_VM_STATE_VERSION() == ic->ic_vmstat)) {
me = ic->ic_value.method;
}
else {