Index: test/cctest/test-heap.cc |
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc |
index ff9e51a621ab7f4c634d4de79722134265c8eabf..2cc9ecac3990ce440e18b1946f12ee22b855bcb6 100644 |
--- a/test/cctest/test-heap.cc |
+++ b/test/cctest/test-heap.cc |
@@ -2848,7 +2848,9 @@ TEST(IncrementalMarkingClearsTypeFeedbackInfo) { |
// originating from two different native contexts. |
CcTest::global()->Set(v8_str("fun1"), fun1); |
CcTest::global()->Set(v8_str("fun2"), fun2); |
- CompileRun("function f(a, b) { a(); b(); } f(fun1, fun2);"); |
+ CompileRun("function f(a, b) { a(); b(); }" |
+ "f(fun1, fun2);" // Run twice to skip premonomorphic state. |
+ "f(fun1, fun2)"); |
Handle<JSFunction> f = |
v8::Utils::OpenHandle( |