Index: src/heap/spaces.h |
diff --git a/src/heap/spaces.h b/src/heap/spaces.h |
index b990bb3b359c14b4b69d5d8588ae7636164d9c56..5c942c17776d101fb7d77aef9cd85bae031d543b 100644 |
--- a/src/heap/spaces.h |
+++ b/src/heap/spaces.h |
@@ -1116,7 +1116,7 @@ class SkipList { |
// ---------------------------------------------------------------------------- |
// A space acquires chunks of memory from the operating system. The memory |
-// allocator allocated and deallocates pages for the paged heap spaces and large |
+// allocator allocates and deallocates pages for the paged heap spaces and large |
// pages for large object space. |
class MemoryAllocator { |
public: |
@@ -1234,6 +1234,8 @@ class MemoryAllocator { |
: Page::kAllocatableMemory; |
} |
+ static intptr_t GetCommitPageSize(); |
+ |
explicit MemoryAllocator(Isolate* isolate); |
// Initializes its internal bookkeeping structures. |