summaryrefslogtreecommitdiff
path: root/chromium/v8/src/heap/large-spaces.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/v8/src/heap/large-spaces.h')
-rw-r--r--chromium/v8/src/heap/large-spaces.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/chromium/v8/src/heap/large-spaces.h b/chromium/v8/src/heap/large-spaces.h
index 8761b9949c4..1e53671a9b1 100644
--- a/chromium/v8/src/heap/large-spaces.h
+++ b/chromium/v8/src/heap/large-spaces.h
@@ -32,6 +32,7 @@ class LargePage : public MemoryChunk {
static const int kMaxCodePageSize = 512 * MB;
static LargePage* FromHeapObject(HeapObject o) {
+ DCHECK(!V8_ENABLE_THIRD_PARTY_HEAP_BOOL);
return static_cast<LargePage*>(MemoryChunk::FromHeapObject(o));
}