From 604769943a0e82bc83080229151cc1f3888575f7 Mon Sep 17 00:00:00 2001 From: Lang Hames Date: Fri, 28 Sep 2018 15:13:41 +0000 Subject: [PATCH] [ORC] Remove some dead code. llvm-svn: 343327 --- .../lib/ExecutionEngine/Orc/CompileOnDemandLayer.cpp | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/llvm/lib/ExecutionEngine/Orc/CompileOnDemandLayer.cpp b/llvm/lib/ExecutionEngine/Orc/CompileOnDemandLayer.cpp index b0ae6c0..fc788d90 100644 --- a/llvm/lib/ExecutionEngine/Orc/CompileOnDemandLayer.cpp +++ b/llvm/lib/ExecutionEngine/Orc/CompileOnDemandLayer.cpp @@ -14,26 +14,6 @@ using namespace llvm; using namespace llvm::orc; -namespace { - -template -class LambdaValueMaterializer final : public ValueMaterializer { -public: - LambdaValueMaterializer(MaterializerFtor M) : M(std::move(M)) {} - - Value *materialize(Value *V) final { return M(V); } - -private: - MaterializerFtor M; -}; - -template -LambdaValueMaterializer -createLambdaValueMaterializer(MaterializerFtor M) { - return LambdaValueMaterializer(std::move(M)); -} -} // namespace - static void extractAliases(MaterializationResponsibility &R, Module &M, MangleAndInterner &Mangle) { SymbolAliasMap Aliases; -- 2.7.4