| Index: test/cctest/heap/test-alloc.cc
|
| diff --git a/test/cctest/heap/test-alloc.cc b/test/cctest/heap/test-alloc.cc
|
| index eedbd29473ff76404617b6158d24c632447baeea..21e06b989f2d7b2c6607db469b15abb44fc95436 100644
|
| --- a/test/cctest/heap/test-alloc.cc
|
| +++ b/test/cctest/heap/test-alloc.cc
|
| @@ -31,7 +31,7 @@
|
| #include "src/accessors.h"
|
| #include "src/api.h"
|
| #include "test/cctest/heap/heap-tester.h"
|
| -#include "test/cctest/heap/utils-inl.h"
|
| +#include "test/cctest/heap/heap-utils.h"
|
|
|
| using namespace v8::internal;
|
|
|
| @@ -52,11 +52,11 @@ AllocationResult v8::internal::HeapTester::AllocateAfterFailures() {
|
| heap->CopyJSObject(JSObject::cast(object)).ToObjectChecked();
|
|
|
| // Old data space.
|
| - SimulateFullSpace(heap->old_space());
|
| + heap::SimulateFullSpace(heap->old_space());
|
| heap->AllocateByteArray(100, TENURED).ToObjectChecked();
|
|
|
| // Old pointer space.
|
| - SimulateFullSpace(heap->old_space());
|
| + heap::SimulateFullSpace(heap->old_space());
|
| heap->AllocateFixedArray(10000, TENURED).ToObjectChecked();
|
|
|
| // Large object space.
|
| @@ -72,12 +72,12 @@ AllocationResult v8::internal::HeapTester::AllocateAfterFailures() {
|
| kLargeObjectSpaceFillerLength, TENURED).ToObjectChecked();
|
|
|
| // Map space.
|
| - SimulateFullSpace(heap->map_space());
|
| + heap::SimulateFullSpace(heap->map_space());
|
| int instance_size = JSObject::kHeaderSize;
|
| heap->AllocateMap(JS_OBJECT_TYPE, instance_size).ToObjectChecked();
|
|
|
| // Test that we can allocate in old pointer space and code space.
|
| - SimulateFullSpace(heap->code_space());
|
| + heap::SimulateFullSpace(heap->code_space());
|
| heap->AllocateFixedArray(100, TENURED).ToObjectChecked();
|
| heap->CopyCode(CcTest::i_isolate()->builtins()->builtin(
|
| Builtins::kIllegal)).ToObjectChecked();
|
|
|