| Index: src/mips/ic-mips.cc
|
| diff --git a/src/mips/ic-mips.cc b/src/mips/ic-mips.cc
|
| index b30ee31ff62a9da24dc251e9bf1a83b7ac147a83..8a00f605639e2cf5270d850484435d9f1c45a700 100644
|
| --- a/src/mips/ic-mips.cc
|
| +++ b/src/mips/ic-mips.cc
|
| @@ -326,7 +326,8 @@ static void GenerateKeyNameCheck(MacroAssembler* masm,
|
| __ And(at, hash, Operand(Name::kContainsCachedArrayIndexMask));
|
| __ Branch(index_string, eq, at, Operand(zero_reg));
|
|
|
| - // Is the string internalized?
|
| + // Is the string internalized? We know it's a string, so a single
|
| + // bit test is enough.
|
| // map: key map
|
| __ lbu(hash, FieldMemOperand(map, Map::kInstanceTypeOffset));
|
| STATIC_ASSERT(kInternalizedTag != 0);
|
|
|