Index: test/cctest/heap/test-heap.cc |
diff --git a/test/cctest/heap/test-heap.cc b/test/cctest/heap/test-heap.cc |
index 80c4cc7c3434912d9258101959828a0b48704b06..e559ae41adb1710fe079bfdf673f707d71fb3ba0 100644 |
--- a/test/cctest/heap/test-heap.cc |
+++ b/test/cctest/heap/test-heap.cc |
@@ -2716,6 +2716,8 @@ TEST(ResetSharedFunctionInfoCountersDuringIncrementalMarking) { |
" return s;" |
"}" |
"f(); f();" |
+ "%BaselineFunctionOnNextCall(f);" |
+ "f(); f();" |
"%OptimizeFunctionOnNextCall(f);" |
"f();"); |
} |
@@ -2760,6 +2762,8 @@ TEST(ResetSharedFunctionInfoCountersDuringMarkSweep) { |
" return s;" |
"}" |
"f(); f();" |
+ "%BaselineFunctionOnNextCall(f);" |
+ "f(); f();" |
"%OptimizeFunctionOnNextCall(f);" |
"f();"); |
} |