Skip to content

Commit 11a0593

Browse files
committed
squash: use ToObjectChecked in CreateFillerObjectAt
1 parent 5c214a3 commit 11a0593

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎deps/v8/test/cctest/heap/test-heap.cc‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6781,8 +6781,8 @@ HEAP_TEST(CodeLargeObjectSpace){
67816781
AllocationAlignment::kCodeAligned);
67826782

67836783
CHECK(allocation.ToObjectChecked().address() == allocation_tracker.address());
6784-
heap->CreateFillerObjectAt(allocation.ToAddress(), size_in_bytes,
6785-
ClearRecordedSlots::kNo);
6784+
heap->CreateFillerObjectAt(allocation.ToObjectChecked().address(),
6785+
size_in_bytes, ClearRecordedSlots::kNo);
67866786
heap->RemoveHeapObjectAllocationTracker(&allocation_tracker);
67876787
}
67886788

0 commit comments

Comments
(0)