aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-05-04 02:28:57 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-05-04 02:28:57 +0000
commitae8f1f3fde1d9618bfcf8f629ffd68c26015f921 (patch)
tree59255c6d484d852093d28f32f04af8fe1916bcb2 /lib
parentb00b4bed57af9d6c8f2a4ee138ca471fd06b0750 (diff)
Remove unused members and constructor arguments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181096 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Linker/Linker.cpp16
1 files changed, 5 insertions, 11 deletions
diff --git a/lib/Linker/Linker.cpp b/lib/Linker/Linker.cpp
index 06d24694ee..f8bf21e5ea 100644
--- a/lib/Linker/Linker.cpp
+++ b/lib/Linker/Linker.cpp
@@ -19,20 +19,14 @@
#include "llvm/Support/system_error.h"
using namespace llvm;
-Linker::Linker(StringRef progname, StringRef modname,
- LLVMContext& C, unsigned flags):
+Linker::Linker(StringRef modname,
+ LLVMContext& C):
Context(C),
- Composite(new Module(modname, C)),
- Flags(flags),
- Error(),
- ProgramName(progname) { }
+ Composite(new Module(modname, C)) { }
-Linker::Linker(StringRef progname, Module* aModule, unsigned flags) :
+Linker::Linker(Module* aModule) :
Context(aModule->getContext()),
- Composite(aModule),
- Flags(flags),
- Error(),
- ProgramName(progname) { }
+ Composite(aModule) { }
Linker::~Linker() {
delete Composite;