Index: src/objects-debug.cc |
=================================================================== |
--- src/objects-debug.cc (revision 542) |
+++ src/objects-debug.cc (working copy) |
@@ -572,8 +572,8 @@ |
JSObjectVerify(); |
VerifyObjectField(JSGlobalProxy::kContextOffset); |
// Make sure that this object has no properties, elements. |
- CHECK(properties()->length() == 0); |
- CHECK(elements()->length() == 0); |
+ CHECK_EQ(0, properties()->length()); |
+ CHECK_EQ(0, elements()->length()); |
} |