Index: test/cctest/heap/test-heap.cc |
diff --git a/test/cctest/heap/test-heap.cc b/test/cctest/heap/test-heap.cc |
index 23321e3e0cd32fef42c9b2812574147c9bb55eae..c69d391f90f399385d74ff0372c24a93970f46b5 100644 |
--- a/test/cctest/heap/test-heap.cc |
+++ b/test/cctest/heap/test-heap.cc |
@@ -2230,9 +2230,8 @@ TEST(TestAlignedOverAllocation) { |
AllocationResult dummy = |
heap->old_space()->AllocateRawUnaligned(kPointerSize); |
CHECK(!dummy.IsRetry()); |
- heap->CreateFillerObjectAt( |
- HeapObject::cast(dummy.ToObjectChecked())->address(), kPointerSize, |
- ClearRecordedSlots::kNo); |
+ heap->CreateFillerObjectAt(dummy.ToObjectChecked()->address(), kPointerSize, |
+ ClearRecordedSlots::kNo); |
// Double misalignment is 4 on 32-bit platforms, 0 on 64-bit ones. |
const intptr_t double_misalignment = kDoubleSize - kPointerSize; |