summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--compiler/utils/swap_space.cc1
-rw-r--r--compiler/utils/swap_space.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/compiler/utils/swap_space.cc b/compiler/utils/swap_space.cc
index 244a5fedbe..1a8f567aa1 100644
--- a/compiler/utils/swap_space.cc
+++ b/compiler/utils/swap_space.cc
@@ -152,7 +152,6 @@ SwapSpace::SpaceChunk SwapSpace::NewFileChunk(size_t min_size) {
}
size_ += next_part;
SpaceChunk new_chunk = {ptr, next_part};
- maps_.push_back(new_chunk);
return new_chunk;
#else
UNUSED(min_size, kMininumMapSize);
diff --git a/compiler/utils/swap_space.h b/compiler/utils/swap_space.h
index b659f1d3c7..bf06675d72 100644
--- a/compiler/utils/swap_space.h
+++ b/compiler/utils/swap_space.h
@@ -85,7 +85,6 @@ class SwapSpace {
int fd_;
size_t size_;
- std::list<SpaceChunk> maps_;
// NOTE: Boost.Bimap would be useful for the two following members.