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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25010 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Duraid Madina 2005-12-25 14:09:08 +00:00
parent 806b89382a
commit b13d74a49a

View File

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