From: Jonas Hahnfeld Date: Mon, 27 Nov 2017 17:55:47 +0000 (+0000) Subject: Delete obsolete function mergeUseListsImpl X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a43196c1455a952a7efb1aee19e46ca3ebea043f;p=llvm Delete obsolete function mergeUseListsImpl mergeUseLists is implemented iteratively since r243590. Differential Revision: https://reviews.llvm.org/D40491 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@319061 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/IR/Value.h b/include/llvm/IR/Value.h index 60a64c8ba8a..12a4877320b 100644 --- a/include/llvm/IR/Value.h +++ b/include/llvm/IR/Value.h @@ -651,12 +651,6 @@ private: return Merged; } - /// \brief Tail-recursive helper for \a mergeUseLists(). - /// - /// \param[out] Next the first element in the list. - template - static void mergeUseListsImpl(Use *L, Use *R, Use **Next, Compare Cmp); - protected: unsigned short getSubclassDataFromValue() const { return SubclassData; } void setValueSubclassData(unsigned short D) { SubclassData = D; }