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 6993acafdef0c80ca598282c8cd471fe185eac76..9f501f7f4685389ca6728df3339df09b55cc7f03 100644 |
--- a/src/crankshaft/x64/lithium-codegen-x64.cc |
+++ b/src/crankshaft/x64/lithium-codegen-x64.cc |
@@ -3738,7 +3738,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()); |
@@ -3752,14 +3751,12 @@ void LCodeGen::DoCallFunction(LCallFunction* instr) { |
__ Move(vector_register, vector); |
__ Move(slot_register, 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 { |
__ Set(rax, arity); |
- CallCode(isolate()->builtins()->Call(mode, tail_call_mode), |
- RelocInfo::CODE_TARGET, instr); |
+ CallCode(isolate()->builtins()->Call(mode), RelocInfo::CODE_TARGET, instr); |
} |
} |