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 df6c29e17431a46e56f69a0d6a8218d77ba669c4..834bc49416f7c117294fb671725b90690839f7c1 100644 |
--- a/src/crankshaft/ia32/lithium-codegen-ia32.cc |
+++ b/src/crankshaft/ia32/lithium-codegen-ia32.cc |
@@ -2392,18 +2392,6 @@ void LCodeGen::EmitVectorLoadICRegisters(T* instr) { |
} |
-void LCodeGen::DoLoadGlobalGeneric(LLoadGlobalGeneric* instr) { |
- DCHECK(ToRegister(instr->context()).is(esi)); |
- DCHECK(ToRegister(instr->result()).is(eax)); |
- |
- 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()); |