Chromium Code Reviews| Index: src/objects-debug.cc |
| diff --git a/src/objects-debug.cc b/src/objects-debug.cc |
| index 567a2787093705e62b6d5166a1b624376c351789..6d2cf5f72c042dc9ba16f82799c65bf51e261f57 100644 |
| --- a/src/objects-debug.cc |
| +++ b/src/objects-debug.cc |
| @@ -498,7 +498,7 @@ void JSWeakMap::JSWeakMapVerify() { |
| CHECK(IsJSWeakMap()); |
| JSObjectVerify(); |
| VerifyHeapPointer(table()); |
| - ASSERT(table()->IsHashTable()); |
| + ASSERT(table()->IsHashTable() || table()->IsUndefined()); |
| } |