Index: src/global-handles.cc |
diff --git a/src/global-handles.cc b/src/global-handles.cc |
index f37f43b2b220bcb5ba0691a1bd09a52eb4e8119f..a88560b0a49dc0551e72fcfaf99dca34e0448dba 100644 |
--- a/src/global-handles.cc |
+++ b/src/global-handles.cc |
@@ -59,7 +59,13 @@ class GlobalHandles::Node { |
return reinterpret_cast<Node*>(location); |
} |
- Node() {} |
+ Node() { |
+ ASSERT(OFFSET_OF(Node, flags_) == Internals::kNodeFlagsOffset); |
+ ASSERT(static_cast<int>(IsIndependent::kShift) == |
+ Internals::kNodeIsIndependentShift); |
+ ASSERT(static_cast<int>(IsPartiallyDependent::kShift) == |
+ Internals::kNodeIsPartiallyDependentShift); |
+ } |
#ifdef DEBUG |
~Node() { |