aboutsummaryrefslogtreecommitdiff
path: root/deps/v8/test/cctest/heap/heap-utils.cc
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/cctest/heap/heap-utils.cc')
-rw-r--r--deps/v8/test/cctest/heap/heap-utils.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/deps/v8/test/cctest/heap/heap-utils.cc b/deps/v8/test/cctest/heap/heap-utils.cc
index 24298d685c..8b53dab9c5 100644
--- a/deps/v8/test/cctest/heap/heap-utils.cc
+++ b/deps/v8/test/cctest/heap/heap-utils.cc
@@ -213,6 +213,7 @@ void ForceEvacuationCandidate(Page* page) {
CHECK(FLAG_manual_evacuation_candidates_selection);
page->SetFlag(MemoryChunk::FORCE_EVACUATION_CANDIDATE_FOR_TESTING);
PagedSpace* space = static_cast<PagedSpace*>(page->owner());
+ DCHECK_NOT_NULL(space);
Address top = space->top();
Address limit = space->limit();
if (top < limit && Page::FromAllocationAreaAddress(top) == page) {