Index: src/type-info.cc |
diff --git a/src/type-info.cc b/src/type-info.cc |
index 1757bee767381c68ddafbae97e9457592514fe19..4f527b53e3ad95680019cfc6b3bd9b47f45af479 100644 |
--- a/src/type-info.cc |
+++ b/src/type-info.cc |
@@ -637,9 +637,9 @@ byte TypeFeedbackOracle::CompareNilTypes(TypeFeedbackId id) { |
Handle<Object> object = GetInfo(id); |
if (object->IsCode() && |
Handle<Code>::cast(object)->is_compare_nil_ic_stub()) { |
- return Handle<Code>::cast(object)->compare_nil_state(); |
+ return Handle<Code>::cast(object)->compare_nil_types(); |
} else { |
- return CompareNilICStub::kFullCompare; |
+ return CompareNilICStub::Types::FullCompare().ToIntegral(); |
} |
} |