From: Chris Lattner Date: Fri, 11 Aug 2006 17:46:44 +0000 (+0000) Subject: Change one ReplaceAllUsesWith method to take an array of operands to replaceinstead... X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=8a842cf8287ee957e15b95ceeb6ee5f189caba3d;p=oota-llvm.git Change one ReplaceAllUsesWith method to take an array of operands to replaceinstead of a vector of operands. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29617 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/CodeGen/SelectionDAG.h b/include/llvm/CodeGen/SelectionDAG.h index aee44b34514..e818a064850 100644 --- a/include/llvm/CodeGen/SelectionDAG.h +++ b/include/llvm/CodeGen/SelectionDAG.h @@ -393,7 +393,7 @@ public: std::vector *Deleted = 0); void ReplaceAllUsesWith(SDNode *From, SDNode *To, std::vector *Deleted = 0); - void ReplaceAllUsesWith(SDNode *From, const std::vector &To, + void ReplaceAllUsesWith(SDNode *From, const SDOperand *To, std::vector *Deleted = 0); /// ReplaceAllUsesOfValueWith - Replace any uses of From with To, leaving