aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-08-11 17:21:12 +0000
committerChris Lattner <sabre@nondot.org>2006-08-11 17:21:12 +0000
commite0e42d457e9976d3c01575b2c480f973285f08fa (patch)
tree8c614298332713350e438f1a021bead3bcc84f1d
parente21492bc4eb558ee9a95df72feee39b89acba1ca (diff)
downloadexternal_llvm-e0e42d457e9976d3c01575b2c480f973285f08fa.zip
external_llvm-e0e42d457e9976d3c01575b2c480f973285f08fa.tar.gz
external_llvm-e0e42d457e9976d3c01575b2c480f973285f08fa.tar.bz2
eliminate use of getNode that takes vector of operands.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29611 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/IA64/IA64ISelLowering.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/Target/IA64/IA64ISelLowering.cpp b/lib/Target/IA64/IA64ISelLowering.cpp
index 6c81458..4cc85fb 100644
--- a/lib/Target/IA64/IA64ISelLowering.cpp
+++ b/lib/Target/IA64/IA64ISelLowering.cpp
@@ -469,7 +469,8 @@ IA64TargetLowering::LowerCallTo(SDOperand Chain,
assert(0 && "this should never happen!\n");
// to make way for a hack:
- Chain = DAG.getNode(IA64ISD::BRCALL, NodeTys, CallOperands);
+ Chain = DAG.getNode(IA64ISD::BRCALL, NodeTys,
+ &CallOperands[0], CallOperands.size());
InFlag = Chain.getValue(1);
// restore the GP, SP and RP after the call
@@ -578,7 +579,8 @@ LowerOperation(SDOperand Op, SelectionDAG &DAG) {
NodeTys.push_back(MVT::Flag);
RetOperands.push_back(AR_PFSVal);
RetOperands.push_back(AR_PFSVal.getValue(1));
- return DAG.getNode(IA64ISD::RET_FLAG, NodeTys, RetOperands);
+ return DAG.getNode(IA64ISD::RET_FLAG, NodeTys,
+ &RetOperands[0], RetOperands.size());
}
}
return SDOperand();