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 a535153e18df6dd988a1363dd3010882948c5ed1..c1c9ce439a2ffccdde7e5a31ed3dd7c91c0863ef 100644 |
--- a/src/crankshaft/ia32/lithium-codegen-ia32.cc |
+++ b/src/crankshaft/ia32/lithium-codegen-ia32.cc |
@@ -3590,37 +3590,6 @@ void LCodeGen::DoInvokeFunction(LInvokeFunction* instr) { |
} |
-void LCodeGen::DoCallFunction(LCallFunction* instr) { |
- HCallFunction* hinstr = instr->hydrogen(); |
- DCHECK(ToRegister(instr->context()).is(esi)); |
- DCHECK(ToRegister(instr->function()).is(edi)); |
- DCHECK(ToRegister(instr->result()).is(eax)); |
- |
- int arity = instr->arity(); |
- ConvertReceiverMode mode = hinstr->convert_mode(); |
- if (hinstr->HasVectorAndSlot()) { |
- Register slot_register = ToRegister(instr->temp_slot()); |
- Register vector_register = ToRegister(instr->temp_vector()); |
- DCHECK(slot_register.is(edx)); |
- DCHECK(vector_register.is(ebx)); |
- |
- AllowDeferredHandleDereference vector_structure_check; |
- Handle<TypeFeedbackVector> vector = hinstr->feedback_vector(); |
- int index = vector->GetIndex(hinstr->slot()); |
- |
- __ mov(vector_register, vector); |
- __ mov(slot_register, Immediate(Smi::FromInt(index))); |
- |
- Handle<Code> ic = |
- CodeFactory::CallICInOptimizedCode(isolate(), arity, mode).code(); |
- CallCode(ic, RelocInfo::CODE_TARGET, instr); |
- } else { |
- __ Set(eax, arity); |
- CallCode(isolate()->builtins()->Call(mode), RelocInfo::CODE_TARGET, instr); |
- } |
-} |
- |
- |
void LCodeGen::DoCallNewArray(LCallNewArray* instr) { |
DCHECK(ToRegister(instr->context()).is(esi)); |
DCHECK(ToRegister(instr->constructor()).is(edi)); |