Index: src/profiler/heap-snapshot-generator.cc |
diff --git a/src/profiler/heap-snapshot-generator.cc b/src/profiler/heap-snapshot-generator.cc |
index 85ad029ecb83b2b0ca0118e305b5c76336b44fef..fc43f9f47141e9a5448327d7e5578168c3a7b940 100644 |
--- a/src/profiler/heap-snapshot-generator.cc |
+++ b/src/profiler/heap-snapshot-generator.cc |
@@ -1532,7 +1532,7 @@ void V8HeapExplorer::ExtractAllocationSiteReferences(int entry, |
// Do not visit weak_next as it is not visited by the StaticVisitor, |
// and we're not very interested in weak_next field here. |
STATIC_ASSERT(AllocationSite::kWeakNextOffset >= |
- AllocationSite::BodyDescriptor::kEndOffset); |
+ AllocationSite::kPointerFieldsEndOffset); |
} |