Index: src/objects-debug.cc |
diff --git a/src/objects-debug.cc b/src/objects-debug.cc |
index fa3c375cb499c821c65a2614578d5113206a154b..ecf9313ab29bb3a3d8047311fb113f7ec6e199f9 100644 |
--- a/src/objects-debug.cc |
+++ b/src/objects-debug.cc |
@@ -242,7 +242,11 @@ void Symbol::SymbolVerify() { |
CHECK(IsSymbol()); |
CHECK(HasHashCode()); |
CHECK_GT(Hash(), 0); |
- CHECK(name()->IsUndefined() || name()->IsString()); |
+ CHECK(name()->IsUndefined() || name()->IsString() || name()->IsBox()); |
+ if (IsPrivate()) { |
+ CHECK(Private::cast(this)->name()->IsUndefined() || |
+ Private::cast(this)->name()->IsString()); |
+ } |
} |