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; |
} |