1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00

We don't need to insert TargetData into the PassManager here.

llvm-svn: 12874
This commit is contained in:
Brian Gaeke 2004-04-12 21:46:31 +00:00
parent d2ed0ee2cd
commit 36093cb38c

View File

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