Index: src/arm/ic-arm.cc |
diff --git a/src/arm/ic-arm.cc b/src/arm/ic-arm.cc |
index f5a1fc3fb4f41a2aac673900d199bddc6af9c21d..ee28d2819857431fc3cb19c8d658efb5653b39a3 100644 |
--- a/src/arm/ic-arm.cc |
+++ b/src/arm/ic-arm.cc |
@@ -325,9 +325,9 @@ static void GenerateKeyNameCheck(MacroAssembler* masm, |
// bit test is enough. |
// map: key map |
__ ldrb(hash, FieldMemOperand(map, Map::kInstanceTypeOffset)); |
- STATIC_ASSERT(kInternalizedTag != 0); |
- __ tst(hash, Operand(kIsInternalizedMask)); |
- __ b(eq, not_unique); |
+ STATIC_ASSERT(kInternalizedTag == 0); |
+ __ tst(hash, Operand(kIsNotInternalizedMask)); |
+ __ b(ne, not_unique); |
__ bind(&unique); |
} |