Index: test/cctest/test-unboxed-doubles.cc |
diff --git a/test/cctest/test-unboxed-doubles.cc b/test/cctest/test-unboxed-doubles.cc |
index 6a3be9bb9c84842b4377416f1744f478c651f281..3299e12c5e4308ed7bf975f2e2ab156c2fead126 100644 |
--- a/test/cctest/test-unboxed-doubles.cc |
+++ b/test/cctest/test-unboxed-doubles.cc |
@@ -1440,6 +1440,7 @@ HEAP_TEST(WriteBarriersInCopyJSObject) { |
Min(FixedArray::kMaxSize, Page::kMaxRegularHeapObjectSize + kPointerSize); |
int allocation_len = LenFromSize(allocation_amount); |
NewSpace* new_space = heap->new_space(); |
+ DisableInlineAllocationSteps(new_space); |
Address* top_addr = new_space->allocation_top_address(); |
Address* limit_addr = new_space->allocation_limit_address(); |
while ((*limit_addr - *top_addr) > allocation_amount) { |