Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(243)

Unified Diff: test/cctest/heap/test-heap.cc

Issue 2381493004: [heap] Set progress bar flag for FixedArray upon allocation (Closed)
Patch Set: Addressed comment Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/snapshot/deserializer.cc ('k') | test/cctest/heap/test-lab.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « src/snapshot/deserializer.cc ('k') | test/cctest/heap/test-lab.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698