aboutsummaryrefslogtreecommitdiffstats
path: root/vm_callinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'vm_callinfo.h')
-rw-r--r--vm_callinfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_callinfo.h b/vm_callinfo.h
index 1fe76eb902..7fc0a93806 100644
--- a/vm_callinfo.h
+++ b/vm_callinfo.h
@@ -360,7 +360,7 @@ vm_cc_markable(const struct rb_callcache *cc)
static inline bool
vm_cc_invalidated_p(const struct rb_callcache *cc)
{
- if (cc->klass && METHOD_ENTRY_INVALIDATED(vm_cc_cme(cc))) {
+ if (cc->klass && !METHOD_ENTRY_INVALIDATED(vm_cc_cme(cc))) {
return false;
}
else {