aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2004-04-12 21:46:31 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2004-04-12 21:46:31 +0000
commit5f0b51547ca71f496208ac23b92481132efa0def (patch)
tree53f3abe4371e5b9adeebfcadea46e830fc6f2c39 /lib
parentee7e2869977b3501c605c5583d19071f15b5a4cf (diff)
downloadexternal_llvm-5f0b51547ca71f496208ac23b92481132efa0def.zip
external_llvm-5f0b51547ca71f496208ac23b92481132efa0def.tar.gz
external_llvm-5f0b51547ca71f496208ac23b92481132efa0def.tar.bz2
We don't need to insert TargetData into the PassManager here.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12874 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/SparcV9/SparcV9TargetMachine.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/Target/SparcV9/SparcV9TargetMachine.cpp b/lib/Target/SparcV9/SparcV9TargetMachine.cpp
index 0f15b13..f15f941 100644
--- a/lib/Target/SparcV9/SparcV9TargetMachine.cpp
+++ b/lib/Target/SparcV9/SparcV9TargetMachine.cpp
@@ -199,11 +199,6 @@ SparcV9TargetMachine::addPassesToEmitAssembly(PassManager &PM, std::ostream &Out
/// generation for the UltraSparcV9.
///
void SparcV9JITInfo::addPassesToJITCompile(FunctionPassManager &PM) {
- const TargetData &TD = TM.getTargetData();
-
- PM.add(new TargetData("lli", TD.isLittleEndian(), TD.getPointerSize(),
- TD.getPointerAlignment(), TD.getDoubleAlignment()));
-
// Replace malloc and free instructions with library calls.
PM.add(createLowerAllocationsPass());