Index: src/heap-snapshot-generator.cc |
diff --git a/src/heap-snapshot-generator.cc b/src/heap-snapshot-generator.cc |
index 7f217bb8d64ecbc2f288b26d6e19bfad40f64211..df99de4d9847b96deff4f4ab73ebd8637180cb46 100644 |
--- a/src/heap-snapshot-generator.cc |
+++ b/src/heap-snapshot-generator.cc |
@@ -1282,7 +1282,7 @@ void V8HeapExplorer::ExtractContextReferences(int entry, Context* context) { |
Context::FIRST_WEAK_SLOT); |
STATIC_ASSERT(Context::NEXT_CONTEXT_LINK + 1 == |
Context::NATIVE_CONTEXT_SLOTS); |
- STATIC_ASSERT(Context::FIRST_WEAK_SLOT + 5 == |
+ STATIC_ASSERT(Context::FIRST_WEAK_SLOT + 4 == |
Context::NATIVE_CONTEXT_SLOTS); |
} |
} |