Index: src/ppc/macro-assembler-ppc.cc |
diff --git a/src/ppc/macro-assembler-ppc.cc b/src/ppc/macro-assembler-ppc.cc |
index a36924a4e8adab1d121d0a7acea22cb8b228fc0d..5a5f1b715dcf6d410f08f466875b345fb20fb2d6 100644 |
--- a/src/ppc/macro-assembler-ppc.cc |
+++ b/src/ppc/macro-assembler-ppc.cc |
@@ -3174,8 +3174,8 @@ void MacroAssembler::CheckPageFlag( |
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); |
} |
@@ -3232,8 +3232,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 |