Index: src/spaces.h |
diff --git a/src/spaces.h b/src/spaces.h |
index ca61081ded8ae4f71e8a9cd4b336fb8cb240255a..56be1406b6384eccc7335458729ff77c019f2c96 100644 |
--- a/src/spaces.h |
+++ b/src/spaces.h |
@@ -1820,6 +1820,11 @@ class PagedSpace : public Space { |
return area_size_; |
} |
+ bool ConstantAllocationSize() { |
+ return identity() == MAP_SPACE || identity() == CELL_SPACE || |
+ identity() == PROPERTY_CELL_SPACE; |
+ } |
+ |
protected: |
FreeList* free_list() { return &free_list_; } |