Index: src/objects-debug.cc |
=================================================================== |
--- src/objects-debug.cc (revision 500) |
+++ src/objects-debug.cc (working copy) |
@@ -263,7 +263,7 @@ |
r.GetKey()->StringPrint(); |
PrintF(": "); |
if (r.type() == FIELD) { |
- properties()->get(r.GetFieldIndex())->ShortPrint(); |
+ FastPropertyAt(r.GetFieldIndex())->ShortPrint(); |
PrintF(" (field at offset %d)\n", r.GetFieldIndex()); |
} else if (r.type() == CONSTANT_FUNCTION) { |
r.GetConstantFunction()->ShortPrint(); |
@@ -313,7 +313,8 @@ |
VerifyHeapPointer(elements()); |
if (HasFastProperties()) { |
CHECK(map()->unused_property_fields() == |
- (properties()->length() - map()->NextFreePropertyIndex())); |
+ (map()->inobject_properties() + properties()->length() - |
+ map()->NextFreePropertyIndex())); |
} |
} |