Chromium Code Reviews| Index: src/objects-debug.cc |
| diff --git a/src/objects-debug.cc b/src/objects-debug.cc |
| index f770533a1b8f5e09da39d87776bc23d914a09414..bded928bec85b6a6c270553122ccc592fbde7a0f 100644 |
| --- a/src/objects-debug.cc |
| +++ b/src/objects-debug.cc |
| @@ -44,6 +44,8 @@ void Smi::SmiVerify() { |
| void HeapObject::HeapObjectVerify() { |
| + VerifyHeapPointer(map()); |
| + CHECK(map()->IsMap()); |
| InstanceType instance_type = map()->instance_type(); |
| if (instance_type < FIRST_NONSTRING_TYPE) { |