[llvm] r269954 - Delete dead code. Reloc::Default is the default.
Rafael Espindola via llvm-commits
llvm-commits at lists.llvm.org
Wed May 18 09:19:20 PDT 2016
Author: rafael
Date: Wed May 18 11:19:20 2016
New Revision: 269954
URL: http://llvm.org/viewvc/llvm-project?rev=269954&view=rev
Log:
Delete dead code. Reloc::Default is the default.
Modified:
llvm/trunk/unittests/ExecutionEngine/MCJIT/MCJITTestBase.h
Modified: llvm/trunk/unittests/ExecutionEngine/MCJIT/MCJITTestBase.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/ExecutionEngine/MCJIT/MCJITTestBase.h?rev=269954&r1=269953&r2=269954&view=diff
==============================================================================
--- llvm/trunk/unittests/ExecutionEngine/MCJIT/MCJITTestBase.h (original)
+++ llvm/trunk/unittests/ExecutionEngine/MCJIT/MCJITTestBase.h Wed May 18 11:19:20 2016
@@ -282,7 +282,6 @@ protected:
MCJITTestBase()
: TrivialModuleBuilder(HostTriple)
, OptLevel(CodeGenOpt::None)
- , RelocModel(Reloc::Default)
, CodeModel(CodeModel::Default)
, MArch("")
, MM(new SectionMemoryManager)
@@ -322,7 +321,6 @@ protected:
.setErrorStr(&Error)
.setOptLevel(CodeGenOpt::None)
.setCodeModel(CodeModel::JITDefault)
- .setRelocationModel(Reloc::Default)
.setMArch(MArch)
.setMCPU(sys::getHostCPUName())
//.setMAttrs(MAttrs)
@@ -332,7 +330,6 @@ protected:
}
CodeGenOpt::Level OptLevel;
- Reloc::Model RelocModel;
CodeModel::Model CodeModel;
StringRef MArch;
SmallVector<std::string, 1> MAttrs;
More information about the llvm-commits
mailing list