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, |