summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/ExecutionEngine
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2016-05-18 16:19:20 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2016-05-18 16:19:20 +0000
commit0548ce4881b18a5cf751afa35725e57ad741cc81 (patch)
tree74fe89f4c735199b0ea5d5edf6cb2258f006317b /llvm/unittests/ExecutionEngine
parent2de17d49dd0fef25849c7c4b0843dbef8a0062e3 (diff)
downloadbcm5719-llvm-0548ce4881b18a5cf751afa35725e57ad741cc81.tar.gz
bcm5719-llvm-0548ce4881b18a5cf751afa35725e57ad741cc81.zip
Delete dead code. Reloc::Default is the default.
llvm-svn: 269954
Diffstat (limited to 'llvm/unittests/ExecutionEngine')
-rw-r--r--llvm/unittests/ExecutionEngine/MCJIT/MCJITTestBase.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/unittests/ExecutionEngine/MCJIT/MCJITTestBase.h b/llvm/unittests/ExecutionEngine/MCJIT/MCJITTestBase.h
index 609ac844c47..e14201c2d78 100644
--- a/llvm/unittests/ExecutionEngine/MCJIT/MCJITTestBase.h
+++ b/llvm/unittests/ExecutionEngine/MCJIT/MCJITTestBase.h
@@ -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;
OpenPOWER on IntegriCloud