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

Unified Diff: src/heap/heap.cc

Issue 1314493007: [heap] Add compaction space. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebase Created 5 years, 4 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 | « no previous file | src/heap/spaces.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/heap.cc
diff --git a/src/heap/heap.cc b/src/heap/heap.cc
index 53f3fa21b7d0f0e273257239e4bfbd8832a2f882..54eafb52e2622e3ec3cf82511fbf1240e3c55f7b 100644
--- a/src/heap/heap.cc
+++ b/src/heap/heap.cc
@@ -5780,19 +5780,16 @@ void Heap::TearDown() {
new_space_.TearDown();
if (old_space_ != NULL) {
- old_space_->TearDown();
delete old_space_;
old_space_ = NULL;
}
if (code_space_ != NULL) {
- code_space_->TearDown();
delete code_space_;
code_space_ = NULL;
}
if (map_space_ != NULL) {
- map_space_->TearDown();
delete map_space_;
map_space_ = NULL;
}
« no previous file with comments | « no previous file | src/heap/spaces.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698