Index: src/global-handles.cc |
diff --git a/src/global-handles.cc b/src/global-handles.cc |
index 59bddb24a4e566bfc85460ff04cb6a594334a6ff..2eae474510cfc39988fe3be23abe1e8baf81734b 100644 |
--- a/src/global-handles.cc |
+++ b/src/global-handles.cc |
@@ -1251,6 +1251,7 @@ void GlobalHandles::ComputeObjectGroupsAndImplicitReferences() { |
EternalHandles::EternalHandles() : size_(0) { |
+ STATIC_ASSERT(v8::kUninitializedEternalIndex == kInvalidIndex); |
for (unsigned i = 0; i < ARRAY_SIZE(singleton_handles_); i++) { |
singleton_handles_[i] = kInvalidIndex; |
} |