Index: src/objects-debug.cc |
diff --git a/src/objects-debug.cc b/src/objects-debug.cc |
index 82a71a5ffa0d1a4e4827fc20aa6ac2258e4c7376..92867db14ce7a29816a1961b434e41aac1fbb89c 100644 |
--- a/src/objects-debug.cc |
+++ b/src/objects-debug.cc |
@@ -220,6 +220,7 @@ void Symbol::SymbolVerify() { |
CHECK(IsSymbol()); |
CHECK(HasHashCode()); |
CHECK_GT(Hash(), 0); |
+ CHECK(name()->IsUndefined() || name()->IsString()); |
} |