unbreak calls, a few more tests should run. Tomorrow: bugpoint!

llvm-svn: 25010
This commit is contained in:
Duraid Madina 2005-12-25 14:09:08 +00:00
parent 06dcc199f0
commit 6b240e55d1
1 changed files with 1 additions and 2 deletions

View File

@ -352,7 +352,6 @@ SDOperand IA64DAGToDAGISel::Select(SDOperand Op) {
unsigned CallOpcode;
SDOperand CallOperand;
std::vector<MVT::ValueType> TypeOperands;
// if we can call directly, do so
if (GlobalAddressSDNode *GASD =
@ -395,7 +394,7 @@ SDOperand IA64DAGToDAGISel::Select(SDOperand Op) {
// Finally, once everything is setup, emit the call itself
if(InFlag.Val)
Chain = CurDAG->getTargetNode(CallOpcode, MVT::Other, MVT::Flag, CallOperand, Chain, InFlag);
Chain = CurDAG->getTargetNode(CallOpcode, MVT::Other, MVT::Flag, CallOperand, InFlag);
else // there might be no arguments
Chain = CurDAG->getTargetNode(CallOpcode, MVT::Other, MVT::Flag, CallOperand, Chain);
InFlag = Chain.getValue(1);