Index: test/cctest/test-heap.cc |
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc |
index a00944816562b67bb2c0267c743d3a4d7e92bf1a..0a43124eaf208af674891d41c2580b18a2259db6 100644 |
--- a/test/cctest/test-heap.cc |
+++ b/test/cctest/test-heap.cc |
@@ -2421,7 +2421,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(); |