Index: src/crankshaft/ia32/lithium-codegen-ia32.cc |
diff --git a/src/crankshaft/ia32/lithium-codegen-ia32.cc b/src/crankshaft/ia32/lithium-codegen-ia32.cc |
index 07cd96398e6c47eb568e7710fe6a36c9078ffb9f..f7c523c96ebfb002bfb12c6400320738328c5b26 100644 |
--- a/src/crankshaft/ia32/lithium-codegen-ia32.cc |
+++ b/src/crankshaft/ia32/lithium-codegen-ia32.cc |
@@ -2424,7 +2424,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); |
} |
@@ -2540,8 +2540,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); |
} |