Index: test/cctest/test-heap.cc |
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc |
index a0fb06dd676ef1439d36c08e785aac9e934739e3..c45c7b61f25b1ca372802931098f80349377ac5e 100644 |
--- a/test/cctest/test-heap.cc |
+++ b/test/cctest/test-heap.cc |
@@ -2422,7 +2422,7 @@ TEST(IncrementalMarkingClearsPolymorhpicIC) { |
v8::Context::GetCurrent()->Global()->Get(v8_str("f")))); |
Code* ic_before = FindFirstIC(f->shared()->code(), Code::LOAD_IC); |
- CHECK(ic_before->ic_state() == MEGAMORPHIC); |
+ CHECK(ic_before->ic_state() == POLYMORPHIC); |
// Fire context dispose notification. |
v8::V8::ContextDisposedNotification(); |