From: Evan Cheng Date: Mon, 7 Jan 2008 23:08:23 +0000 (+0000) Subject: Unbreak x86-64. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9b44944d3d46bb855b2aa48094628189004c8c51;p=oota-llvm.git Unbreak x86-64. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45725 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp index 4aff4c5e236..627c0ce5bf1 100644 --- a/lib/Target/X86/X86ISelLowering.cpp +++ b/lib/Target/X86/X86ISelLowering.cpp @@ -1478,10 +1478,9 @@ SDOperand X86TargetLowering::LowerCALL(SDOperand Op, SelectionDAG &DAG) { // Add argument registers to the end of the list so that they are known live // into the call. - if (IsTailCall) - for (unsigned i = 0, e = RegsToPass.size(); i != e; ++i) - Ops.push_back(DAG.getRegister(RegsToPass[i].first, - RegsToPass[i].second.getValueType())); + for (unsigned i = 0, e = RegsToPass.size(); i != e; ++i) + Ops.push_back(DAG.getRegister(RegsToPass[i].first, + RegsToPass[i].second.getValueType())); if (InFlag.Val) Ops.push_back(InFlag);