Index: src/arm/macro-assembler-arm.cc |
diff --git a/src/arm/macro-assembler-arm.cc b/src/arm/macro-assembler-arm.cc |
index a08673d4620243d1e4c598e787f1517b0a629dd5..496d9bd69261f266eeae53d86aa90834fb24bfad 100644 |
--- a/src/arm/macro-assembler-arm.cc |
+++ b/src/arm/macro-assembler-arm.cc |
@@ -430,9 +430,7 @@ void MacroAssembler::InNewSpace(Register object, |
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); |
} |