Index: src/mips/macro-assembler-mips.cc |
diff --git a/src/mips/macro-assembler-mips.cc b/src/mips/macro-assembler-mips.cc |
index 13b24fdbb5cea3f7c1f02694387e515422f4e37f..5d33f3c2f1ae5531a185b538f3032b31794d2224 100644 |
--- a/src/mips/macro-assembler-mips.cc |
+++ b/src/mips/macro-assembler-mips.cc |
@@ -184,9 +184,7 @@ void MacroAssembler::InNewSpace(Register object, |
Condition cc, |
Label* branch) { |
DCHECK(cc == eq || cc == ne); |
- const int mask = |
- 1 << MemoryChunk::IN_FROM_SPACE | 1 << MemoryChunk::IN_TO_SPACE; |
- CheckPageFlag(object, scratch, mask, cc, branch); |
+ CheckPageFlag(object, scratch, MemoryChunk::kIsInNewSpaceMask, cc, branch); |
} |