diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-05-04 02:28:57 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-05-04 02:28:57 +0000 |
commit | ae8f1f3fde1d9618bfcf8f629ffd68c26015f921 (patch) | |
tree | 59255c6d484d852093d28f32f04af8fe1916bcb2 /lib | |
parent | b00b4bed57af9d6c8f2a4ee138ca471fd06b0750 (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.cpp | 16 |
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; |