Index: test/cctest/test-serialize.cc |
diff --git a/test/cctest/test-serialize.cc b/test/cctest/test-serialize.cc |
index e8ba2b40ad3e0cdc732b4cd7ee8037580836d553..3ca9b612ef4e6f223ae2d077c0470575e05aa59c 100644 |
--- a/test/cctest/test-serialize.cc |
+++ b/test/cctest/test-serialize.cc |
@@ -584,6 +584,7 @@ TEST(LinearAllocation) { |
HEAP->cell_space()->RoundSizeDownToObjectAlignment(paged_space_size), |
size); // Large object space. |
LinearAllocationScope linear_allocation_scope; |
+ DisallowAllocationFailure disallow_allocation_failure; |
const int kSmallFixedArrayLength = 4; |
const int kSmallFixedArraySize = |
FixedArray::kHeaderSize + kSmallFixedArrayLength * kPointerSize; |