Index: src/objects-debug.cc |
diff --git a/src/objects-debug.cc b/src/objects-debug.cc |
index 17220c6db77594ec556943b06a629eb8e0b8600a..99fa337e3b2edf4faedc3e66a7ac4f64a5c68e8c 100644 |
--- a/src/objects-debug.cc |
+++ b/src/objects-debug.cc |
@@ -573,10 +573,6 @@ void JSGlobalObject::JSGlobalObjectVerify() { |
return; |
} |
JSObjectVerify(); |
- for (int i = GlobalObject::kHeaderSize; i < JSGlobalObject::kSize; |
- i += kPointerSize) { |
- VerifyObjectField(i); |
- } |
} |
@@ -1038,7 +1034,7 @@ void JSObject::IncrementSpillStatistics(SpillInformation* info) { |
info->number_of_objects_with_fast_properties_++; |
info->number_of_fast_used_fields_ += map()->NextFreePropertyIndex(); |
info->number_of_fast_unused_fields_ += map()->unused_property_fields(); |
- } else if (IsGlobalObject()) { |
+ } else if (IsJSGlobalObject()) { |
GlobalDictionary* dict = global_dictionary(); |
info->number_of_slow_used_properties_ += dict->NumberOfElements(); |
info->number_of_slow_unused_properties_ += |