Index: src/x87/macro-assembler-x87.cc |
diff --git a/src/x87/macro-assembler-x87.cc b/src/x87/macro-assembler-x87.cc |
index 3bd3ff029de4253f4adc5f59f3d28da79f91f2f7..7dbbce4406a7d54fbdb69ffbc2f167189b7004b5 100644 |
--- a/src/x87/macro-assembler-x87.cc |
+++ b/src/x87/macro-assembler-x87.cc |
@@ -2772,10 +2772,9 @@ void MacroAssembler::JumpIfBlack(Register object, |
Register scratch1, |
Label* on_black, |
Label::Distance on_black_near) { |
- HasColor(object, scratch0, scratch1, |
- on_black, on_black_near, |
- 1, 0); // kBlackBitPattern. |
- DCHECK(strcmp(Marking::kBlackBitPattern, "10") == 0); |
+ HasColor(object, scratch0, scratch1, on_black, on_black_near, 1, |
+ 1); // kBlackBitPattern. |
+ DCHECK(strcmp(Marking::kBlackBitPattern, "11") == 0); |
} |
@@ -2837,8 +2836,8 @@ void MacroAssembler::JumpIfWhite(Register value, Register bitmap_scratch, |
// If the value is black or grey we don't need to do anything. |
DCHECK(strcmp(Marking::kWhiteBitPattern, "00") == 0); |
- DCHECK(strcmp(Marking::kBlackBitPattern, "10") == 0); |
- DCHECK(strcmp(Marking::kGreyBitPattern, "11") == 0); |
+ DCHECK(strcmp(Marking::kBlackBitPattern, "11") == 0); |
+ DCHECK(strcmp(Marking::kGreyBitPattern, "10") == 0); |
DCHECK(strcmp(Marking::kImpossibleBitPattern, "01") == 0); |
// Since both black and grey have a 1 in the first position and white does |