Index: src/transitions.h |
diff --git a/src/transitions.h b/src/transitions.h |
index 648559ba4cd2652fd836b691e81c9fbb226a48d9..1cb91a222e6fec33133c3c3fd060102cb01a3750 100644 |
--- a/src/transitions.h |
+++ b/src/transitions.h |
@@ -68,6 +68,7 @@ class TransitionArray: public FixedArray { |
} |
static inline Map* GetSimpleTransition(Object* raw_transition) { |
DCHECK(IsSimpleTransition(raw_transition)); |
+ DCHECK(raw_transition->IsWeakCell()); |
return Map::cast(WeakCell::cast(raw_transition)->value()); |
} |
static inline bool IsFullTransitionArray(Object* raw_transitions) { |