Index: src/crankshaft/arm/lithium-codegen-arm.cc |
diff --git a/src/crankshaft/arm/lithium-codegen-arm.cc b/src/crankshaft/arm/lithium-codegen-arm.cc |
index b799a1daad014bef325156f4347c3aa7614012fd..417878753bc51dff3beb56c5b37d6bfcbe9bb8f5 100644 |
--- a/src/crankshaft/arm/lithium-codegen-arm.cc |
+++ b/src/crankshaft/arm/lithium-codegen-arm.cc |
@@ -3715,7 +3715,6 @@ void LCodeGen::DoCallFunction(LCallFunction* instr) { |
int arity = instr->arity(); |
ConvertReceiverMode mode = hinstr->convert_mode(); |
- TailCallMode tail_call_mode = hinstr->tail_call_mode(); |
if (hinstr->HasVectorAndSlot()) { |
Register slot_register = ToRegister(instr->temp_slot()); |
Register vector_register = ToRegister(instr->temp_vector()); |
@@ -3729,14 +3728,12 @@ void LCodeGen::DoCallFunction(LCallFunction* instr) { |
__ Move(vector_register, vector); |
__ mov(slot_register, Operand(Smi::FromInt(index))); |
- Handle<Code> ic = CodeFactory::CallICInOptimizedCode(isolate(), arity, mode, |
- tail_call_mode) |
- .code(); |
+ Handle<Code> ic = |
+ CodeFactory::CallICInOptimizedCode(isolate(), arity, mode).code(); |
CallCode(ic, RelocInfo::CODE_TARGET, instr); |
} else { |
__ mov(r0, Operand(arity)); |
- CallCode(isolate()->builtins()->Call(mode, tail_call_mode), |
- RelocInfo::CODE_TARGET, instr); |
+ CallCode(isolate()->builtins()->Call(mode), RelocInfo::CODE_TARGET, instr); |
} |
} |