Index: src/x87/macro-assembler-x87.cc |
diff --git a/src/x87/macro-assembler-x87.cc b/src/x87/macro-assembler-x87.cc |
index 9ffbf9f34b20d6e4265fd1e3ab3939d70c3cd90f..e89d22ffba6b38b2b3c922163c103873f33fc3a6 100644 |
--- a/src/x87/macro-assembler-x87.cc |
+++ b/src/x87/macro-assembler-x87.cc |
@@ -167,9 +167,8 @@ void MacroAssembler::PopCallerSaved(SaveFPRegsMode fp_mode, Register exclusion1, |
void MacroAssembler::InNewSpace(Register object, Register scratch, Condition cc, |
Label* condition_met, |
Label::Distance distance) { |
- const int mask = |
- (1 << MemoryChunk::IN_FROM_SPACE) | (1 << MemoryChunk::IN_TO_SPACE); |
- CheckPageFlag(object, scratch, mask, cc, condition_met, distance); |
+ CheckPageFlag(object, scratch, MemoryChunk::kIsInNewSpaceMask, cc, |
+ condition_met, distance); |
} |