summaryrefslogtreecommitdiffstats
path: root/llvm/lib
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
commit56565b5cb939e3db80938a673ddd4e1c0a5a12d1 (patch)
tree4292a939f3a2e1ac17258b4f59f4de77a486a72e /llvm/lib
parent2aa76cf371fc89303c0d0037d93bd70a3b8d8eac (diff)
downloadbcm5719-llvm-56565b5cb939e3db80938a673ddd4e1c0a5a12d1.tar.gz
bcm5719-llvm-56565b5cb939e3db80938a673ddd4e1c0a5a12d1.zip
eliminate use of getNode that takes vector of operands.
llvm-svn: 29611
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/IA64/IA64ISelLowering.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/llvm/lib/Target/IA64/IA64ISelLowering.cpp b/llvm/lib/Target/IA64/IA64ISelLowering.cpp
index 6c814589aec..4cc85fb1e88 100644
--- a/llvm/lib/Target/IA64/IA64ISelLowering.cpp
+++ b/llvm/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();
OpenPOWER on IntegriCloud