Delete dead code. Reloc::Default is the default.

llvm-svn: 269954
This commit is contained in:
Rafael Espindola 2016-05-18 16:19:20 +00:00
parent 2de17d49dd
commit 0548ce4881
1 changed files with 0 additions and 3 deletions

View File

@ -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;