forked from OSchip/llvm-project
Delete dead code. Reloc::Default is the default.
llvm-svn: 269954
This commit is contained in:
parent
2de17d49dd
commit
0548ce4881
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue