Index: src/ia32/macro-assembler-ia32.cc |
diff --git a/src/ia32/macro-assembler-ia32.cc b/src/ia32/macro-assembler-ia32.cc |
index 19d750cf4e9f8cee95a3bca1d0b15451c38c9465..5222bc9c718164d84857c6fa613fc5de4e7e52fe 100644 |
--- a/src/ia32/macro-assembler-ia32.cc |
+++ b/src/ia32/macro-assembler-ia32.cc |
@@ -2900,10 +2900,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); |
} |
@@ -2965,8 +2964,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 |