| Index: src/spaces.h | 
| diff --git a/src/spaces.h b/src/spaces.h | 
| index 44e8cb6e33161393f5d494537a31929181ed44a0..3a980a7634bd97d4dcae1a92fe816089edcdd028 100644 | 
| --- a/src/spaces.h | 
| +++ b/src/spaces.h | 
| @@ -103,7 +103,7 @@ class Isolate; | 
| ASSERT((OffsetFrom(address) & kObjectAlignmentMask) == 0) | 
|  | 
| #define ASSERT_OBJECT_SIZE(size)                                               \ | 
| -  ASSERT((0 < size) && (size <= Page::kMaxNonCodeHeapObjectSize)) | 
| +  ASSERT((0 < size) && (size <= Page::kMaxRegularHeapObjectSize)) | 
|  | 
| #define ASSERT_PAGE_OFFSET(offset)                                             \ | 
| ASSERT((Page::kObjectStartOffset <= offset)                                  \ | 
| @@ -779,15 +779,15 @@ class Page : public MemoryChunk { | 
| // Page size in bytes.  This must be a multiple of the OS page size. | 
| static const int kPageSize = 1 << kPageSizeBits; | 
|  | 
| -  // Object area size in bytes. | 
| -  static const int kNonCodeObjectAreaSize = kPageSize - kObjectStartOffset; | 
| +  // Object area size in bytes of non code objects. | 
| +  static const int kRegularObjectAreaSize = kPageSize - kObjectStartOffset; | 
|  | 
| -  // Maximum object size that fits in a page. Objects larger than that size | 
| -  // are allocated in large object space and are never moved in memory. This | 
| -  // also applies to new space allocation, since objects are never migrated | 
| +  // Maximum object size that fits in a non-code page. Objects larger than that | 
| +  // size are allocated in large object space and are never moved in memory. | 
| +  // This also applies to new space allocation, since objects are never migrated | 
| // from new space to large object space.  Takes double alignment into account. | 
| -  static const int kMaxNonCodeHeapObjectSize = | 
| -      kNonCodeObjectAreaSize - kPointerSize; | 
| +  static const int kMaxRegularHeapObjectSize = | 
| +      kRegularObjectAreaSize - kPointerSize; | 
|  | 
| // Page size mask. | 
| static const intptr_t kPageAlignmentMask = (1 << kPageSizeBits) - 1; | 
| @@ -1080,7 +1080,7 @@ class MemoryAllocator { | 
|  | 
| // Returns maximum available bytes that the old space can have. | 
| intptr_t MaxAvailable() { | 
| -    return (Available() / Page::kPageSize) * Page::kMaxNonCodeHeapObjectSize; | 
| +    return (Available() / Page::kPageSize) * Page::kMaxRegularHeapObjectSize; | 
| } | 
|  | 
| // Returns an indication of whether a pointer is in a space that has | 
| @@ -1635,7 +1635,7 @@ class FreeList { | 
| private: | 
| // The size range of blocks, in bytes. | 
| static const int kMinBlockSize = 3 * kPointerSize; | 
| -  static const int kMaxBlockSize = Page::kMaxNonCodeHeapObjectSize; | 
| +  static const int kMaxBlockSize = Page::kMaxRegularHeapObjectSize; | 
|  | 
| FreeListNode* FindNodeFor(int size_in_bytes, int* node_size); | 
|  | 
| @@ -2013,7 +2013,7 @@ class NewSpacePage : public MemoryChunk { | 
| (1 << MemoryChunk::POINTERS_FROM_HERE_ARE_INTERESTING) | | 
| (1 << MemoryChunk::SCAN_ON_SCAVENGE); | 
|  | 
| -  static const int kAreaSize = Page::kNonCodeObjectAreaSize; | 
| +  static const int kAreaSize = Page::kRegularObjectAreaSize; | 
|  | 
| inline NewSpacePage* next_page() const { | 
| return static_cast<NewSpacePage*>(next_chunk()); | 
| @@ -2673,7 +2673,7 @@ class MapSpace : public PagedSpace { | 
| virtual void VerifyObject(HeapObject* obj); | 
|  | 
| private: | 
| -  static const int kMapsPerPage = Page::kNonCodeObjectAreaSize / Map::kSize; | 
| +  static const int kMapsPerPage = Page::kRegularObjectAreaSize / Map::kSize; | 
|  | 
| // Do map space compaction if there is a page gap. | 
| int CompactionThreshold() { | 
|  |