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 e6bdcef34183612f147f9bf1d7f533c91dc58284..ed3c75c65d4cea80ef3cd129ec05213e0da971c1 100644 |
--- a/src/crankshaft/x64/lithium-codegen-x64.cc |
+++ b/src/crankshaft/x64/lithium-codegen-x64.cc |
@@ -2534,18 +2534,6 @@ void LCodeGen::EmitVectorLoadICRegisters(T* instr) { |
} |
-void LCodeGen::DoLoadGlobalGeneric(LLoadGlobalGeneric* instr) { |
- DCHECK(ToRegister(instr->context()).is(rsi)); |
- DCHECK(ToRegister(instr->result()).is(rax)); |
- |
- EmitVectorLoadICRegisters<LLoadGlobalGeneric>(instr); |
- Handle<Code> ic = |
- CodeFactory::LoadGlobalICInOptimizedCode(isolate(), instr->typeof_mode()) |
- .code(); |
- CallCode(ic, RelocInfo::CODE_TARGET, instr); |
-} |
- |
- |
void LCodeGen::DoLoadContextSlot(LLoadContextSlot* instr) { |
Register context = ToRegister(instr->context()); |
Register result = ToRegister(instr->result()); |