Index: src/mips64/macro-assembler-mips64.cc |
diff --git a/src/mips64/macro-assembler-mips64.cc b/src/mips64/macro-assembler-mips64.cc |
index b0ae09d18481b8b3a4e71f12fd1d66e4f1e3a680..f909e1711832abee3af1f5236d413d7fb4e75f7d 100644 |
--- a/src/mips64/macro-assembler-mips64.cc |
+++ b/src/mips64/macro-assembler-mips64.cc |
@@ -200,9 +200,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); |
} |