diff options
Diffstat (limited to 'deps/v8/test/cctest/heap/test-page-promotion.cc')
-rw-r--r-- | deps/v8/test/cctest/heap/test-page-promotion.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/v8/test/cctest/heap/test-page-promotion.cc b/deps/v8/test/cctest/heap/test-page-promotion.cc index 3d9999513a..6d6e70046c 100644 --- a/deps/v8/test/cctest/heap/test-page-promotion.cc +++ b/deps/v8/test/cctest/heap/test-page-promotion.cc @@ -115,7 +115,7 @@ UNINITIALIZED_TEST(PagePromotion_NewToNewJSArrayBuffer) { // Allocate a buffer we would like to check against. Handle<JSArrayBuffer> buffer = i_isolate->factory()->NewJSArrayBuffer(SharedFlag::kNotShared); - JSArrayBuffer::SetupAllocatingData(buffer, i_isolate, 100); + CHECK(JSArrayBuffer::SetupAllocatingData(buffer, i_isolate, 100)); std::vector<Handle<FixedArray>> handles; // Simulate a full space, filling the interesting page with live objects. heap::SimulateFullSpace(heap->new_space(), &handles); |