[heap] Fix build on platforms without shared heap
Bug: v8:13267, chromium:1400048 Change-Id: I562996384632e6e2568548fcabc1c05c48b9335a Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4111940 Reviewed-by: Dominik Inführ <dinfuehr@chromium.org> Commit-Queue: Milad Farazmand <mfarazma@redhat.com> Cr-Commit-Position: refs/heads/main@{#84883}
This commit is contained in:
parent
a7e4e3d0ec
commit
e073775f8e
@ -351,7 +351,7 @@ void HeapVerification::VerifyPage(const BasicMemoryChunk* chunk) {
|
||||
CHECK(!chunk->IsFlagSet(Page::PAGE_NEW_OLD_PROMOTION));
|
||||
CHECK(!chunk->IsFlagSet(Page::PAGE_NEW_NEW_PROMOTION));
|
||||
CHECK(!chunk->IsFlagSet(Page::SHARED_HEAP_PROMOTION));
|
||||
if (chunk->InReadOnlySpace()) {
|
||||
if (V8_SHARED_RO_HEAP_BOOL && chunk->InReadOnlySpace()) {
|
||||
CHECK_NULL(chunk->owner());
|
||||
} else {
|
||||
CHECK_EQ(chunk->heap(), heap());
|
||||
|
Loading…
Reference in New Issue
Block a user