| Index: test/cctest/test-heap-profiler.cc
|
| diff --git a/test/cctest/test-heap-profiler.cc b/test/cctest/test-heap-profiler.cc
|
| index f461eff949c0337b8cbcc26f8fae6003a090d652..4b78644b509c300780fd1ddc35842faf1d4beb81 100644
|
| --- a/test/cctest/test-heap-profiler.cc
|
| +++ b/test/cctest/test-heap-profiler.cc
|
| @@ -667,7 +667,7 @@ TEST(HeapSnapshotAddressReuse) {
|
| CompileRun(
|
| "for (var i = 0; i < 10000; ++i)\n"
|
| " a[i] = new A();\n");
|
| - CcTest::heap()->CollectAllGarbage(i::Heap::kNoGCFlags);
|
| + CcTest::heap()->CollectAllGarbage();
|
|
|
| const v8::HeapSnapshot* snapshot2 = heap_profiler->TakeHeapSnapshot();
|
| CHECK(ValidateSnapshot(snapshot2));
|
| @@ -709,7 +709,7 @@ TEST(HeapEntryIdsAndArrayShift) {
|
| "for (var i = 0; i < 1; ++i)\n"
|
| " a.shift();\n");
|
|
|
| - CcTest::heap()->CollectAllGarbage(i::Heap::kNoGCFlags);
|
| + CcTest::heap()->CollectAllGarbage();
|
|
|
| const v8::HeapSnapshot* snapshot2 = heap_profiler->TakeHeapSnapshot();
|
| CHECK(ValidateSnapshot(snapshot2));
|
| @@ -750,7 +750,7 @@ TEST(HeapEntryIdsAndGC) {
|
| const v8::HeapSnapshot* snapshot1 = heap_profiler->TakeHeapSnapshot();
|
| CHECK(ValidateSnapshot(snapshot1));
|
|
|
| - CcTest::heap()->CollectAllGarbage(i::Heap::kNoGCFlags);
|
| + CcTest::heap()->CollectAllGarbage();
|
|
|
| const v8::HeapSnapshot* snapshot2 = heap_profiler->TakeHeapSnapshot();
|
| CHECK(ValidateSnapshot(snapshot2));
|
| @@ -1059,7 +1059,7 @@ TEST(HeapSnapshotObjectsStats) {
|
| // We have to call GC 6 times. In other case the garbage will be
|
| // the reason of flakiness.
|
| for (int i = 0; i < 6; ++i) {
|
| - CcTest::heap()->CollectAllGarbage(i::Heap::kNoGCFlags);
|
| + CcTest::heap()->CollectAllGarbage();
|
| }
|
|
|
| v8::SnapshotObjectId initial_id;
|
|
|