Index: src/objects-debug.cc |
=================================================================== |
--- src/objects-debug.cc (revision 7216) |
+++ src/objects-debug.cc (working copy) |
@@ -91,6 +91,9 @@ |
case BYTE_ARRAY_TYPE: |
ByteArray::cast(this)->ByteArrayVerify(); |
break; |
+ case FREE_SPACE_TYPE: |
+ FreeSpace::cast(this)->FreeSpaceVerify(); |
+ break; |
case EXTERNAL_PIXEL_ARRAY_TYPE: |
ExternalPixelArray::cast(this)->ExternalPixelArrayVerify(); |
break; |
@@ -192,6 +195,11 @@ |
} |
+void FreeSpace::FreeSpaceVerify() { |
+ ASSERT(IsFreeSpace()); |
+} |
+ |
+ |
void ExternalPixelArray::ExternalPixelArrayVerify() { |
ASSERT(IsExternalPixelArray()); |
} |