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

Unified Diff: runtime/vm/heap.h

Issue 410333003: Shorter TryAllocate instruction sequence on ARM/ARM64/MIPS. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 5 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.h
diff --git a/runtime/vm/heap.h b/runtime/vm/heap.h
index 71354e382ad957c0b5192d9dbe8f19b20fe890d4..7de2daf75134516dea0f2409f1ff73c95920f939 100644
--- a/runtime/vm/heap.h
+++ b/runtime/vm/heap.h
@@ -164,6 +164,7 @@ class Heap {
uword TopAddress();
uword EndAddress();
static intptr_t new_space_offset() { return OFFSET_OF(Heap, new_space_); }
+ uword NewSpaceAddress() const { return reinterpret_cast<uword>(new_space_); }
// Initialize the heap and register it with the isolate.
static void Init(Isolate* isolate,

Powered by Google App Engine
This is Rietveld 408576698