Index: src/crankshaft/x64/lithium-codegen-x64.cc |
diff --git a/src/crankshaft/x64/lithium-codegen-x64.cc b/src/crankshaft/x64/lithium-codegen-x64.cc |
index 0bf324381c7f3fe63a7261b1d513ec9df3914ace..6da4614765fa308dcf559efb2afe13021018bdd6 100644 |
--- a/src/crankshaft/x64/lithium-codegen-x64.cc |
+++ b/src/crankshaft/x64/lithium-codegen-x64.cc |
@@ -2567,7 +2567,7 @@ void LCodeGen::DoLoadGlobalGeneric(LLoadGlobalGeneric* instr) { |
__ Move(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); |
} |
@@ -2683,8 +2683,7 @@ void LCodeGen::DoLoadNamedGeneric(LLoadNamedGeneric* instr) { |
__ Move(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); |
} |