aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Linker/Linker.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/Linker/Linker.cpp b/lib/Linker/Linker.cpp
index c80f8173c3..ab99b98ee0 100644
--- a/lib/Linker/Linker.cpp
+++ b/lib/Linker/Linker.cpp
@@ -19,13 +19,8 @@
#include "llvm/Support/system_error.h"
using namespace llvm;
-Linker::Linker(StringRef modname,
- LLVMContext& C):
- Composite(new Module(modname, C)) { }
-
Linker::Linker(Module* aModule) :
Composite(aModule) { }
Linker::~Linker() {
- delete Composite;
}