Index: src/crankshaft/mips/lithium-codegen-mips.cc |
diff --git a/src/crankshaft/mips/lithium-codegen-mips.cc b/src/crankshaft/mips/lithium-codegen-mips.cc |
index f62a8ad80f74ceccec9505c809b4273fcbd6b227..f2211db33d4a32f7d250a5bf9c097ad94f9e971e 100644 |
--- a/src/crankshaft/mips/lithium-codegen-mips.cc |
+++ b/src/crankshaft/mips/lithium-codegen-mips.cc |
@@ -2520,7 +2520,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); |
} |
@@ -2620,8 +2620,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); |
} |