Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(17)

Unified Diff: src/objects-debug.cc

Issue 1406113007: Merge GlobalObject with JSGlobalObject. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/objects.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_ +=
« no previous file with comments | « src/objects.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698