From 56565b5cb939e3db80938a673ddd4e1c0a5a12d1 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 11 Aug 2006 17:21:12 +0000 Subject: [PATCH] eliminate use of getNode that takes vector of operands. llvm-svn: 29611 --- llvm/lib/Target/IA64/IA64ISelLowering.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/llvm/lib/Target/IA64/IA64ISelLowering.cpp b/llvm/lib/Target/IA64/IA64ISelLowering.cpp index 6c814589aec4..4cc85fb1e88f 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();