Index: src/mips/ic-mips.cc |
diff --git a/src/mips/ic-mips.cc b/src/mips/ic-mips.cc |
index b500226872f4f2b4fa452dc8a53f9e3b0eb40819..ed67e829e3a2cf8c7e2fedce104b39c5ec708a12 100644 |
--- a/src/mips/ic-mips.cc |
+++ b/src/mips/ic-mips.cc |
@@ -330,9 +330,9 @@ static void GenerateKeyNameCheck(MacroAssembler* masm, |
// bit test is enough. |
// map: key map |
__ lbu(hash, FieldMemOperand(map, Map::kInstanceTypeOffset)); |
- STATIC_ASSERT(kInternalizedTag != 0); |
- __ And(at, hash, Operand(kIsInternalizedMask)); |
- __ Branch(not_unique, eq, at, Operand(zero_reg)); |
+ STATIC_ASSERT(kInternalizedTag == 0); |
+ __ And(at, hash, Operand(kIsNotInternalizedMask)); |
+ __ Branch(not_unique, ne, at, Operand(zero_reg)); |
__ bind(&unique); |
} |