| Index: src/mips64/lithium-codegen-mips64.cc
|
| diff --git a/src/mips64/lithium-codegen-mips64.cc b/src/mips64/lithium-codegen-mips64.cc
|
| index 39977a237cb74d437f0b2e4331e90085a959b9d8..c4988f4ec7688c577914bef73b4b5d619e21e486 100644
|
| --- a/src/mips64/lithium-codegen-mips64.cc
|
| +++ b/src/mips64/lithium-codegen-mips64.cc
|
| @@ -2970,7 +2970,7 @@ void LCodeGen::DoLoadGlobalGeneric(LLoadGlobalGeneric* instr) {
|
| __ li(LoadDescriptor::NameRegister(), Operand(instr->name()));
|
| EmitVectorLoadICRegisters<LLoadGlobalGeneric>(instr);
|
| ContextualMode mode = instr->for_typeof() ? NOT_CONTEXTUAL : CONTEXTUAL;
|
| - Handle<Code> ic = CodeFactory::LoadICInOptimizedCode(isolate(), mode, SLOPPY,
|
| + Handle<Code> ic = CodeFactory::LoadICInOptimizedCode(isolate(), mode,
|
| PREMONOMORPHIC).code();
|
| CallCode(ic, RelocInfo::CODE_TARGET, instr);
|
| }
|
| @@ -3085,10 +3085,9 @@ void LCodeGen::DoLoadNamedGeneric(LLoadNamedGeneric* instr) {
|
| // Name is always in a2.
|
| __ li(LoadDescriptor::NameRegister(), Operand(instr->name()));
|
| EmitVectorLoadICRegisters<LLoadNamedGeneric>(instr);
|
| - Handle<Code> ic =
|
| - CodeFactory::LoadICInOptimizedCode(
|
| - isolate(), NOT_CONTEXTUAL, instr->hydrogen()->language_mode(),
|
| - instr->hydrogen()->initialization_state()).code();
|
| + Handle<Code> ic = CodeFactory::LoadICInOptimizedCode(
|
| + isolate(), NOT_CONTEXTUAL,
|
| + instr->hydrogen()->initialization_state()).code();
|
| CallCode(ic, RelocInfo::CODE_TARGET, instr);
|
| }
|
|
|
| @@ -3455,9 +3454,9 @@ void LCodeGen::DoLoadKeyedGeneric(LLoadKeyedGeneric* instr) {
|
| EmitVectorLoadICRegisters<LLoadKeyedGeneric>(instr);
|
| }
|
|
|
| - Handle<Code> ic = CodeFactory::KeyedLoadICInOptimizedCode(
|
| - isolate(), instr->hydrogen()->language_mode(),
|
| - instr->hydrogen()->initialization_state()).code();
|
| + Handle<Code> ic =
|
| + CodeFactory::KeyedLoadICInOptimizedCode(
|
| + isolate(), instr->hydrogen()->initialization_state()).code();
|
| CallCode(ic, RelocInfo::CODE_TARGET, instr);
|
| }
|
|
|
|
|