| Index: src/crankshaft/mips64/lithium-codegen-mips64.cc
|
| diff --git a/src/crankshaft/mips64/lithium-codegen-mips64.cc b/src/crankshaft/mips64/lithium-codegen-mips64.cc
|
| index dd3d38260d0a6bbc102633725816229c30df6adf..cb06e8a7203a93fbad0117e551245ecc7c8f3c01 100644
|
| --- a/src/crankshaft/mips64/lithium-codegen-mips64.cc
|
| +++ b/src/crankshaft/mips64/lithium-codegen-mips64.cc
|
| @@ -2641,7 +2641,7 @@ void LCodeGen::DoLoadGlobalGeneric(LLoadGlobalGeneric* instr) {
|
| __ li(LoadDescriptor::NameRegister(), Operand(instr->name()));
|
| EmitVectorLoadICRegisters<LLoadGlobalGeneric>(instr);
|
| Handle<Code> ic =
|
| - CodeFactory::LoadICInOptimizedCode(isolate(), instr->typeof_mode())
|
| + CodeFactory::LoadGlobalICInOptimizedCode(isolate(), instr->typeof_mode())
|
| .code();
|
| CallCode(ic, RelocInfo::CODE_TARGET, instr);
|
| }
|
| @@ -2756,8 +2756,7 @@ 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_INSIDE_TYPEOF).code();
|
| + Handle<Code> ic = CodeFactory::LoadICInOptimizedCode(isolate()).code();
|
| CallCode(ic, RelocInfo::CODE_TARGET, instr);
|
| }
|
|
|
|
|