| Index: src/mips/ic-mips.cc
|
| diff --git a/src/mips/ic-mips.cc b/src/mips/ic-mips.cc
|
| index b30ee31ff62a9da24dc251e9bf1a83b7ac147a83..896e03007b9869b6fad6c883de065f3f6891e725 100644
|
| --- a/src/mips/ic-mips.cc
|
| +++ b/src/mips/ic-mips.cc
|
| @@ -29,7 +29,7 @@
|
|
|
| #include "v8.h"
|
|
|
| -#if defined(V8_TARGET_ARCH_MIPS)
|
| +#if V8_TARGET_ARCH_MIPS
|
|
|
| #include "codegen.h"
|
| #include "code-stubs.h"
|
| @@ -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);
|
|
|