| Index: src/crankshaft/x87/lithium-codegen-x87.cc
|
| diff --git a/src/crankshaft/x87/lithium-codegen-x87.cc b/src/crankshaft/x87/lithium-codegen-x87.cc
|
| index 71f68d581e60fb38ec1d975f5947055e261976d8..4b45ac331ba1529bb9b4be0171787b9606d00976 100644
|
| --- a/src/crankshaft/x87/lithium-codegen-x87.cc
|
| +++ b/src/crankshaft/x87/lithium-codegen-x87.cc
|
| @@ -2709,7 +2709,7 @@ void LCodeGen::DoLoadGlobalGeneric(LLoadGlobalGeneric* instr) {
|
| __ mov(LoadDescriptor::NameRegister(), 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);
|
| }
|
| @@ -2819,8 +2819,7 @@ void LCodeGen::DoLoadNamedGeneric(LLoadNamedGeneric* instr) {
|
|
|
| __ mov(LoadDescriptor::NameRegister(), 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);
|
| }
|
|
|
|
|