Commit f5fb0e74 authored by Pierre Langlois's avatar Pierre Langlois Committed by Commit Bot

[heap] Fix building with v8_enable_verify_heap = false.

Change-Id: I69f7ca5e10575ae936d084b75f2b06a2aa1a7e0f
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1886913Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
Commit-Queue: Pierre Langlois <pierre.langlois@arm.com>
Cr-Commit-Position: refs/heads/master@{#64610}
parent e486763b
......@@ -626,7 +626,7 @@ void Map::UpdateDescriptors(Isolate* isolate, DescriptorArray descriptors,
CHECK_EQ(Map::GetVisitorId(*this), visitor_id());
}
#else
SLOW_DCHECK(layout_descriptor()->IsConsistentWithMap(*this));
SLOW_DCHECK(layout_descriptor().IsConsistentWithMap(*this));
DCHECK(visitor_id() == Map::GetVisitorId(*this));
#endif
}
......@@ -645,7 +645,7 @@ void Map::InitializeDescriptors(Isolate* isolate, DescriptorArray descriptors,
CHECK(layout_descriptor().IsConsistentWithMap(*this));
}
#else
SLOW_DCHECK(layout_descriptor()->IsConsistentWithMap(*this));
SLOW_DCHECK(layout_descriptor().IsConsistentWithMap(*this));
#endif
set_visitor_id(Map::GetVisitorId(*this));
}
......
......@@ -1822,7 +1822,7 @@ void Map::InstallDescriptors(Isolate* isolate, Handle<Map> parent,
CHECK(child->layout_descriptor().IsConsistentWithMap(*child));
}
#else
SLOW_DCHECK(child->layout_descriptor()->IsConsistentWithMap(*child));
SLOW_DCHECK(child->layout_descriptor().IsConsistentWithMap(*child));
#endif
child->set_visitor_id(Map::GetVisitorId(*child));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment