Index: src/mips/macro-assembler-mips.cc |
diff --git a/src/mips/macro-assembler-mips.cc b/src/mips/macro-assembler-mips.cc |
index dab28d6283a0abdd676ee875eed476f85ae5b91b..d7b8c6690789aa8d528c52660455bac1bc0db81b 100644 |
--- a/src/mips/macro-assembler-mips.cc |
+++ b/src/mips/macro-assembler-mips.cc |
@@ -5395,8 +5395,8 @@ void MacroAssembler::JumpIfBlack(Register object, |
Register scratch0, |
Register scratch1, |
Label* on_black) { |
- HasColor(object, scratch0, scratch1, on_black, 1, 0); // kBlackBitPattern. |
- DCHECK(strcmp(Marking::kBlackBitPattern, "10") == 0); |
+ HasColor(object, scratch0, scratch1, on_black, 1, 1); // kBlackBitPattern. |
+ DCHECK(strcmp(Marking::kBlackBitPattern, "11") == 0); |
} |
@@ -5453,8 +5453,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 |