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:
parent
d2ed0ee2cd
commit
36093cb38c
@ -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());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user