Index: src/ic-inl.h |
diff --git a/src/ic-inl.h b/src/ic-inl.h |
index ad0078e886565cb89f9e91eb58b340d8d965b4a3..c7954ce13a3f8c681869b2f3aea416a90bfa84de 100644 |
--- a/src/ic-inl.h |
+++ b/src/ic-inl.h |
@@ -169,8 +169,10 @@ Handle<Map> IC::GetICCacheHolder(HeapType* type, Isolate* isolate, |
} |
-IC::State CallIC::FeedbackObjectToState(Object* feedback) const { |
+IC::State CallIC::FeedbackToState(Handle<FixedArray> vector, |
+ Handle<Smi> slot) const { |
IC::State state = UNINITIALIZED; |
+ Object* feedback = vector->get(slot->value()); |
if (feedback == *TypeFeedbackInfo::MegamorphicSentinel(isolate())) { |
state = GENERIC; |