Index: src/crankshaft/s390/lithium-codegen-s390.cc |
diff --git a/src/crankshaft/s390/lithium-codegen-s390.cc b/src/crankshaft/s390/lithium-codegen-s390.cc |
index 7f34821286fcd0830f0cdedc1e0828e360dba5db..2d31506a8fea1b3c1fd7a9007388a13788554c44 100644 |
--- a/src/crankshaft/s390/lithium-codegen-s390.cc |
+++ b/src/crankshaft/s390/lithium-codegen-s390.cc |
@@ -2646,17 +2646,6 @@ void LCodeGen::EmitVectorLoadICRegisters(T* instr) { |
__ LoadSmiLiteral(slot_register, Smi::FromInt(index)); |
} |
-void LCodeGen::DoLoadGlobalGeneric(LLoadGlobalGeneric* instr) { |
- DCHECK(ToRegister(instr->context()).is(cp)); |
- DCHECK(ToRegister(instr->result()).is(r2)); |
- |
- 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()); |