From: Lang Hames Date: Sun, 18 Aug 2019 21:22:14 +0000 (+0000) Subject: [ORC] Remove some dead code. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=61a329db873b75fcea96f6ca571f7f5075d8e51e;p=llvm [ORC] Remove some dead code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@369218 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/ExecutionEngine/Orc/Speculation.h b/include/llvm/ExecutionEngine/Orc/Speculation.h index f6704274d65..1899b60f076 100644 --- a/include/llvm/ExecutionEngine/Orc/Speculation.h +++ b/include/llvm/ExecutionEngine/Orc/Speculation.h @@ -162,15 +162,6 @@ public: PB.registerFunctionAnalyses(FAM); } - template < - typename AnalysisTy, - typename std::enable_if< - std::is_base_of, AnalysisTy>::value, - bool>::type = true> - void registerAnalysis() { - FAM.registerPass([]() { return AnalysisTy(); }); - } - void emit(MaterializationResponsibility R, ThreadSafeModule TSM); private: