Index: src/heap.h |
diff --git a/src/heap.h b/src/heap.h |
index d37641ccf3e72d3142838ebf31f018afa09c1946..2a0de236ee7105d63ea4286b46832b7d024e1d4d 100644 |
--- a/src/heap.h |
+++ b/src/heap.h |
@@ -938,6 +938,8 @@ class Heap : public AllStatic { |
static void RecordStats(HeapStats* stats); |
+ static int MaxObjectSizeInNewSpace() { return kMaxObjectSizeInNewSpace; } |
+ |
private: |
static int reserved_semispace_size_; |
static int max_semispace_size_; |