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

Unified Diff: src/compiler/zone-stats.cc

Issue 2394213003: Named all zones in the project (Closed)
Patch Set: Merge branch 'master' into zonenames Created 4 years, 2 months 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/compiler/zone-stats.h ('k') | src/crankshaft/compilation-phase.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/zone-stats.cc
diff --git a/src/compiler/zone-stats.cc b/src/compiler/zone-stats.cc
index 62241a494690f453e043b4d02a4435dc1aded83a..8942df5555c55542530cc250f12f5db8bac79076 100644
--- a/src/compiler/zone-stats.cc
+++ b/src/compiler/zone-stats.cc
@@ -84,8 +84,8 @@ size_t ZoneStats::GetTotalAllocatedBytes() {
return total_deleted_bytes_ + GetCurrentAllocatedBytes();
}
-Zone* ZoneStats::NewEmptyZone() {
- Zone* zone = new Zone(allocator_);
+Zone* ZoneStats::NewEmptyZone(const char* zone_name) {
+ Zone* zone = new Zone(allocator_, zone_name);
zones_.push_back(zone);
return zone;
}
« no previous file with comments | « src/compiler/zone-stats.h ('k') | src/crankshaft/compilation-phase.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698