Index: test/cctest/heap/test-heap.cc |
diff --git a/test/cctest/heap/test-heap.cc b/test/cctest/heap/test-heap.cc |
index 20053d966c9b0948420356d2acee570fb9293d3c..32a4111e5bf1265b10758e5bbb7d5de7b0bfc1e9 100644 |
--- a/test/cctest/heap/test-heap.cc |
+++ b/test/cctest/heap/test-heap.cc |
@@ -5243,7 +5243,8 @@ void CheckIC(Handle<JSFunction> function, Code::Kind kind, int slot_index, |
} else { |
Code* ic = FindFirstIC(function->code(), kind); |
CHECK(ic->is_inline_cache_stub()); |
- CHECK(ic->ic_state() == state); |
+ CHECK(!IC::ICUseVector(kind)); |
+ CHECK_EQ(state, IC::StateFromCode(ic)); |
} |
} |