| Index: src/spaces.cc
|
| diff --git a/src/spaces.cc b/src/spaces.cc
|
| index f3c5a08c5e1cc29d2a9590d194f5120789a5a44b..711cde1c662c0c6c59d7148c2e6dec21f8f878f4 100644
|
| --- a/src/spaces.cc
|
| +++ b/src/spaces.cc
|
| @@ -711,7 +711,7 @@ LargePage* MemoryAllocator::AllocateLargePage(intptr_t object_size,
|
|
|
| void MemoryAllocator::Free(MemoryChunk* chunk) {
|
| LOG(isolate_, DeleteEvent("MemoryChunk", chunk));
|
| - if (chunk->has_owner()) {
|
| + if (chunk->owner() != NULL) {
|
| ObjectSpace space =
|
| static_cast<ObjectSpace>(1 << chunk->owner()->identity());
|
| PerformAllocationCallback(space, kAllocationActionFree, chunk->size());
|
|
|