Add this back, as its absence introduces assertions, and it seems to work now

that Instructions are annotable again

llvm-svn: 12045
This commit is contained in:
Chris Lattner 2004-03-01 15:28:27 +00:00
parent e63e8ea884
commit f96405a1ce
1 changed files with 1 additions and 4 deletions

View File

@ -177,11 +177,8 @@ SparcV9TargetMachine::addPassesToEmitAssembly(PassManager &PM, std::ostream &Out
// function has been emitted.
PM.add(createAsmPrinterPass(Out, *this));
// FIXME: this pass crashes if added; there is a double deletion going on
// somewhere inside it. This is caught when running the SparcV9 code generator
// on X86, but is typically ignored when running natively.
// Free machine-code IR which is no longer needed:
// PM.add(createSparcV9MachineCodeDestructionPass());
PM.add(createSparcV9MachineCodeDestructionPass());
// Emit bytecode to the assembly file into its special section next
if (EmitMappingInfo)