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

Unified Diff: runtime/vm/heap.cc

Issue 1263513002: VM: Load allocation-top and -end via Thread. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: fixed cc tests 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
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;
}

Powered by Google App Engine
This is Rietveld 408576698