[llvm] r343327 - [ORC] Remove some dead code.
Lang Hames via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 28 08:13:42 PDT 2018
Author: lhames
Date: Fri Sep 28 08:13:41 2018
New Revision: 343327
URL: http://llvm.org/viewvc/llvm-project?rev=343327&view=rev
Log:
[ORC] Remove some dead code.
Modified:
llvm/trunk/lib/ExecutionEngine/Orc/CompileOnDemandLayer.cpp
Modified: llvm/trunk/lib/ExecutionEngine/Orc/CompileOnDemandLayer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/ExecutionEngine/Orc/CompileOnDemandLayer.cpp?rev=343327&r1=343326&r2=343327&view=diff
==============================================================================
--- llvm/trunk/lib/ExecutionEngine/Orc/CompileOnDemandLayer.cpp (original)
+++ llvm/trunk/lib/ExecutionEngine/Orc/CompileOnDemandLayer.cpp Fri Sep 28 08:13:41 2018
@@ -14,26 +14,6 @@
using namespace llvm;
using namespace llvm::orc;
-namespace {
-
-template <typename MaterializerFtor>
-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 <typename MaterializerFtor>
-LambdaValueMaterializer<MaterializerFtor>
-createLambdaValueMaterializer(MaterializerFtor M) {
- return LambdaValueMaterializer<MaterializerFtor>(std::move(M));
-}
-} // namespace
-
static void extractAliases(MaterializationResponsibility &R, Module &M,
MangleAndInterner &Mangle) {
SymbolAliasMap Aliases;
More information about the llvm-commits
mailing list