Index: runtime/vm/heap.cc |
diff --git a/runtime/vm/heap.cc b/runtime/vm/heap.cc |
index f0c98a5172fd5cde97883e59c487abcd1b15c237..6897af855dca5ad0601c1bf042e8735316386458 100644 |
--- a/runtime/vm/heap.cc |
+++ b/runtime/vm/heap.cc |
@@ -452,26 +452,6 @@ void Heap::WriteProtect(bool read_only) { |
} |
-uword Heap::TopAddress(Heap::Space space) { |
- if (space == kNew) { |
- return reinterpret_cast<uword>(new_space_.TopAddress()); |
- } else { |
- ASSERT(space == kPretenured); |
- return reinterpret_cast<uword>(old_space_.TopAddress()); |
- } |
-} |
- |
- |
-uword Heap::EndAddress(Heap::Space space) { |
- if (space == kNew) { |
- return reinterpret_cast<uword>(new_space_.EndAddress()); |
- } else { |
- ASSERT(space == kPretenured); |
- return reinterpret_cast<uword>(old_space_.EndAddress()); |
- } |
-} |
- |
- |
Heap::Space Heap::SpaceForAllocation(intptr_t cid) { |
return FLAG_pretenure_all ? kPretenured : kNew; |
} |