| Index: src/spaces-inl.h
|
| ===================================================================
|
| --- src/spaces-inl.h (revision 5394)
|
| +++ src/spaces-inl.h (working copy)
|
| @@ -303,6 +303,14 @@
|
| // -----------------------------------------------------------------------------
|
| // MemoryAllocator
|
|
|
| +void MemoryAllocator::ChunkInfo::init(Address a, size_t s, PagedSpace* o) {
|
| + address_ = a;
|
| + size_ = s;
|
| + owner_ = o;
|
| + executable_ = (o == NULL) ? NOT_EXECUTABLE : o->executable();
|
| +}
|
| +
|
| +
|
| bool MemoryAllocator::IsValidChunk(int chunk_id) {
|
| if (!IsValidChunkId(chunk_id)) return false;
|
|
|
|
|