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

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

Issue 868883002: Remove the dependency of Zone on Isolate (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: All platforms Created 5 years, 11 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
Index: src/compiler/zone-pool.cc
diff --git a/src/compiler/zone-pool.cc b/src/compiler/zone-pool.cc
index 179988d418f15a469b775a26a2d72065f2a4ad72..c1fd47a80455d7792a59f00fb7e70c92943a1513 100644
--- a/src/compiler/zone-pool.cc
+++ b/src/compiler/zone-pool.cc
@@ -66,7 +66,7 @@ void ZonePool::StatsScope::ZoneReturned(Zone* zone) {
ZonePool::ZonePool(Isolate* isolate)
Michael Starzinger 2015/01/23 14:21:10 remark: Looks like we can also drop the Isolate pa
danno 2015/01/23 14:45:20 Done.
- : isolate_(isolate), max_allocated_bytes_(0), total_deleted_bytes_(0) {}
+ : max_allocated_bytes_(0), total_deleted_bytes_(0) {}
ZonePool::~ZonePool() {
@@ -104,7 +104,7 @@ Zone* ZonePool::NewEmptyZone() {
zone = unused_.back();
unused_.pop_back();
} else {
- zone = new Zone(isolate_);
+ zone = new Zone();
}
used_.push_back(zone);
DCHECK_EQ(0, zone->allocation_size());

Powered by Google App Engine
This is Rietveld 408576698