Index: src/arm/macro-assembler-arm.cc |
diff --git a/src/arm/macro-assembler-arm.cc b/src/arm/macro-assembler-arm.cc |
index 3210fefb76966b09319fc00262df93b52e162a80..5220b05bf846e10587ba0b936782843fdef0f433 100644 |
--- a/src/arm/macro-assembler-arm.cc |
+++ b/src/arm/macro-assembler-arm.cc |
@@ -3248,8 +3248,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); |
} |
@@ -3304,8 +3304,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 |