diff options
Diffstat (limited to 'deps/v8/src/mips/ic-mips.cc')
-rw-r--r-- | deps/v8/src/mips/ic-mips.cc | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/deps/v8/src/mips/ic-mips.cc b/deps/v8/src/mips/ic-mips.cc index c1b4e1e056..896e03007b 100644 --- a/deps/v8/src/mips/ic-mips.cc +++ b/deps/v8/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); @@ -1588,8 +1589,8 @@ void StoreIC::GenerateNormal(MacroAssembler* masm) { } -void StoreIC::GenerateGlobalProxy(MacroAssembler* masm, - StrictModeFlag strict_mode) { +void StoreIC::GenerateRuntimeSetProperty(MacroAssembler* masm, + StrictModeFlag strict_mode) { // ----------- S t a t e ------------- // -- a0 : value // -- a1 : receiver |