| Index: test/cctest/heap/test-alloc.cc
|
| diff --git a/test/cctest/heap/test-alloc.cc b/test/cctest/heap/test-alloc.cc
|
| index fb947e933023c05ca6f2850f6356973803440f1d..c01827eee160058b9087dd549e2a383a8bdd53aa 100644
|
| --- a/test/cctest/heap/test-alloc.cc
|
| +++ b/test/cctest/heap/test-alloc.cc
|
| @@ -91,7 +91,7 @@ Handle<Object> v8::internal::HeapTester::TestAllocateAfterFailures() {
|
| // Similar to what the CALL_AND_RETRY macro does in the last-resort case, we
|
| // are wrapping the allocator function in an AlwaysAllocateScope. Test that
|
| // all allocations succeed immediately without any retry.
|
| - CcTest::heap()->CollectAllAvailableGarbage("panic");
|
| + CcTest::CollectAllAvailableGarbage();
|
| AlwaysAllocateScope scope(CcTest::i_isolate());
|
| return handle(AllocateAfterFailures().ToObjectChecked(), CcTest::i_isolate());
|
| }
|
|
|