Index: test/cctest/heap/test-spaces.cc |
diff --git a/test/cctest/heap/test-spaces.cc b/test/cctest/heap/test-spaces.cc |
index 41345bc7d16310197ba855e62e41e0430a2be77c..ce04a4c6018f4f52181e8f03bd69f434d0e1470a 100644 |
--- a/test/cctest/heap/test-spaces.cc |
+++ b/test/cctest/heap/test-spaces.cc |
@@ -519,7 +519,8 @@ static HeapObject* AllocateUnaligned(NewSpace* space, int size) { |
CHECK(!allocation.IsRetry()); |
HeapObject* filler = NULL; |
CHECK(allocation.To(&filler)); |
- space->heap()->CreateFillerObjectAt(filler->address(), size); |
+ space->heap()->CreateFillerObjectAt(filler->address(), size, |
+ ClearRecordedSlots::kNo); |
return filler; |
} |
@@ -528,7 +529,8 @@ static HeapObject* AllocateUnaligned(PagedSpace* space, int size) { |
CHECK(!allocation.IsRetry()); |
HeapObject* filler = NULL; |
CHECK(allocation.To(&filler)); |
- space->heap()->CreateFillerObjectAt(filler->address(), size); |
+ space->heap()->CreateFillerObjectAt(filler->address(), size, |
+ ClearRecordedSlots::kNo); |
return filler; |
} |