Index: src/objects-debug.cc |
diff --git a/src/objects-debug.cc b/src/objects-debug.cc |
index ba78253ea064f7b0746ca1046c9721c4ee9629b0..ea4d5124fb29e6b34d198cc50882cee6bc2225bd 100644 |
--- a/src/objects-debug.cc |
+++ b/src/objects-debug.cc |
@@ -1,4 +1,4 @@ |
-// Copyright 2010 the V8 project authors. All rights reserved. |
+// Copyright 2011 the V8 project authors. All rights reserved. |
// Redistribution and use in source and binary forms, with or without |
// modification, are permitted provided that the following conditions are |
// met: |
@@ -272,7 +272,7 @@ void Map::MapVerify() { |
void Map::SharedMapVerify() { |
MapVerify(); |
ASSERT(is_shared()); |
- ASSERT_EQ(GetHeap()->empty_descriptor_array(), instance_descriptors()); |
+ ASSERT(instance_descriptors()->IsEmpty()); |
ASSERT_EQ(0, pre_allocated_property_fields()); |
ASSERT_EQ(0, unused_property_fields()); |
ASSERT_EQ(StaticVisitorBase::GetVisitorId(instance_type(), instance_size()), |