| Index: src/crankshaft/arm/lithium-codegen-arm.cc
|
| diff --git a/src/crankshaft/arm/lithium-codegen-arm.cc b/src/crankshaft/arm/lithium-codegen-arm.cc
|
| index 276ccf376c5b50bb5868fd588b2f857a90cf26cc..bbca6853b67033fb9684820065440ec464b38199 100644
|
| --- a/src/crankshaft/arm/lithium-codegen-arm.cc
|
| +++ b/src/crankshaft/arm/lithium-codegen-arm.cc
|
| @@ -2629,7 +2629,7 @@ void LCodeGen::DoLoadGlobalGeneric(LLoadGlobalGeneric* instr) {
|
| __ mov(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);
|
| }
|
| @@ -2725,8 +2725,7 @@ void LCodeGen::DoLoadNamedGeneric(LLoadNamedGeneric* instr) {
|
| // Name is always in r2.
|
| __ mov(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, NEVER_INLINE_TARGET_ADDRESS);
|
| }
|
|
|
|
|