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 e247597646985024d4ae53b3df0223e311ee6bc5..f944ea633ba32e6510e4780fe5d68d8f024d78ee 100644 |
--- a/src/crankshaft/ia32/lithium-codegen-ia32.cc |
+++ b/src/crankshaft/ia32/lithium-codegen-ia32.cc |
@@ -3654,7 +3654,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()); |
@@ -3668,14 +3667,12 @@ void LCodeGen::DoCallFunction(LCallFunction* instr) { |
__ mov(vector_register, vector); |
__ mov(slot_register, Immediate(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(eax, arity); |
- CallCode(isolate()->builtins()->Call(mode, tail_call_mode), |
- RelocInfo::CODE_TARGET, instr); |
+ CallCode(isolate()->builtins()->Call(mode), RelocInfo::CODE_TARGET, instr); |
} |
} |