Index: src/arm/ic-arm.cc |
diff --git a/src/arm/ic-arm.cc b/src/arm/ic-arm.cc |
index 3d421c1d4fb55aff49135abf0762f8635f2fd196..cc7815188bb540d33f1b90f7f640f9910e0e2770 100644 |
--- a/src/arm/ic-arm.cc |
+++ b/src/arm/ic-arm.cc |
@@ -321,7 +321,8 @@ static void GenerateKeyNameCheck(MacroAssembler* masm, |
__ tst(hash, Operand(Name::kContainsCachedArrayIndexMask)); |
__ b(eq, index_string); |
- // Is the string internalized? |
+ // Is the string internalized? We know it's a string, so a single |
+ // bit test is enough. |
// map: key map |
__ ldrb(hash, FieldMemOperand(map, Map::kInstanceTypeOffset)); |
STATIC_ASSERT(kInternalizedTag != 0); |