| Index: src/heap/spaces.h
|
| diff --git a/src/heap/spaces.h b/src/heap/spaces.h
|
| index e21876be511858d4cafe4c4bef746e7b77bd390b..7ed03e1f225f4b81ddfc32f39b492fbfefae92b6 100644
|
| --- a/src/heap/spaces.h
|
| +++ b/src/heap/spaces.h
|
| @@ -326,7 +326,7 @@ class MemoryChunk {
|
| void InitializeReservedMemory() { reservation_.Reset(); }
|
|
|
| void set_reserved_memory(base::VirtualMemory* reservation) {
|
| - DCHECK_NOT_NULL(reservation);
|
| + DCHECK(reservation);
|
| reservation_.TakeControl(reservation);
|
| }
|
|
|
| @@ -1276,13 +1276,13 @@ class AllocationInfo {
|
|
|
| INLINE(void set_top(Address top)) {
|
| SLOW_DCHECK(top == NULL ||
|
| - (reinterpret_cast<intptr_t>(top) & HeapObjectTagMask()) == 0);
|
| + (reinterpret_cast<intptr_t>(top) & kHeapObjectTagMask) == 0);
|
| top_ = top;
|
| }
|
|
|
| INLINE(Address top()) const {
|
| SLOW_DCHECK(top_ == NULL ||
|
| - (reinterpret_cast<intptr_t>(top_) & HeapObjectTagMask()) == 0);
|
| + (reinterpret_cast<intptr_t>(top_) & kHeapObjectTagMask) == 0);
|
| return top_;
|
| }
|
|
|
| @@ -1290,13 +1290,13 @@ class AllocationInfo {
|
|
|
| INLINE(void set_limit(Address limit)) {
|
| SLOW_DCHECK(limit == NULL ||
|
| - (reinterpret_cast<intptr_t>(limit) & HeapObjectTagMask()) == 0);
|
| + (reinterpret_cast<intptr_t>(limit) & kHeapObjectTagMask) == 0);
|
| limit_ = limit;
|
| }
|
|
|
| INLINE(Address limit()) const {
|
| SLOW_DCHECK(limit_ == NULL ||
|
| - (reinterpret_cast<intptr_t>(limit_) & HeapObjectTagMask()) ==
|
| + (reinterpret_cast<intptr_t>(limit_) & kHeapObjectTagMask) ==
|
| 0);
|
| return limit_;
|
| }
|
|
|