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

Unified Diff: src/zone/zone.cc

Issue 2348303002: Replaced different means of zone pooling/reusing by one zone segment pool (Closed)
Patch Set: Added most recent changes from master 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/zone/zone.h ('k') | test/cctest/wasm/wasm-run-utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/zone/zone.cc
diff --git a/src/zone/zone.cc b/src/zone/zone.cc
index 5b458c6746c124e8561a5406e6d472ddabc7e7ee..fd0b14733cd21f5d55e9eef95b0143b5f14d400f 100644
--- a/src/zone/zone.cc
+++ b/src/zone/zone.cc
@@ -105,9 +105,7 @@ void Zone::DeleteAll() {
}
position_ = limit_ = 0;
-
allocation_size_ = 0;
- // Update the head segment to be the kept segment (if any).
segment_head_ = nullptr;
}
« no previous file with comments | « src/zone/zone.h ('k') | test/cctest/wasm/wasm-run-utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698