Index: test/cctest/heap/test-heap.cc |
diff --git a/test/cctest/heap/test-heap.cc b/test/cctest/heap/test-heap.cc |
index 60dc1dde2b3247c3d327bcc07a8eed2d87e4484b..83874fea55b497d1e203a8ee73457fa4f39a9b34 100644 |
--- a/test/cctest/heap/test-heap.cc |
+++ b/test/cctest/heap/test-heap.cc |
@@ -5370,8 +5370,7 @@ Handle<JSFunction> GetFunctionByName(Isolate* isolate, const char* name) { |
void CheckIC(Handle<JSFunction> function, Code::Kind kind, int slot_index, |
InlineCacheState state) { |
- if (kind == Code::LOAD_IC || kind == Code::KEYED_LOAD_IC || |
- kind == Code::CALL_IC) { |
+ if (kind == Code::LOAD_IC || kind == Code::KEYED_LOAD_IC) { |
TypeFeedbackVector* vector = function->feedback_vector(); |
FeedbackVectorSlot slot(slot_index); |
if (kind == Code::LOAD_IC) { |
@@ -5380,9 +5379,6 @@ void CheckIC(Handle<JSFunction> function, Code::Kind kind, int slot_index, |
} else if (kind == Code::KEYED_LOAD_IC) { |
KeyedLoadICNexus nexus(vector, slot); |
CHECK_EQ(nexus.StateFromFeedback(), state); |
- } else if (kind == Code::CALL_IC) { |
- CallICNexus nexus(vector, slot); |
- CHECK_EQ(nexus.StateFromFeedback(), state); |
} |
} else { |
Code* ic = FindFirstIC(function->code(), kind); |