Index: src/ppc/macro-assembler-ppc.cc |
diff --git a/src/ppc/macro-assembler-ppc.cc b/src/ppc/macro-assembler-ppc.cc |
index 4e39d967afdb7e67c256e6775af71ad5e067f6e6..7408cf3903fd154917129c7e97876a87d61f6c77 100644 |
--- a/src/ppc/macro-assembler-ppc.cc |
+++ b/src/ppc/macro-assembler-ppc.cc |
@@ -282,9 +282,7 @@ void MacroAssembler::StoreRoot(Register source, Heap::RootListIndex index, |
void MacroAssembler::InNewSpace(Register object, Register scratch, |
Condition cond, Label* branch) { |
DCHECK(cond == eq || cond == ne); |
- const int mask = |
- (1 << MemoryChunk::IN_FROM_SPACE) | (1 << MemoryChunk::IN_TO_SPACE); |
- CheckPageFlag(object, scratch, mask, cond, branch); |
+ CheckPageFlag(object, scratch, MemoryChunk::kIsInNewSpaceMask, cond, branch); |
} |