diff options
author | Chris Lattner <sabre@nondot.org> | 2004-03-01 15:28:27 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-03-01 15:28:27 +0000 |
commit | ec726a1a6e5ec875355a56a99b7af4e2ed3ce8cf (patch) | |
tree | 7c533500c883004fe253802d7fd72a1c2c881e6f /lib/Target/SparcV9/SparcV9TargetMachine.cpp | |
parent | f048bfd97dd2ccef7dc5d86cd02a8ed65a63e2bd (diff) |
Add this back, as its absence introduces assertions, and it seems to work now
that Instructions are annotable again
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12045 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SparcV9/SparcV9TargetMachine.cpp')
-rw-r--r-- | lib/Target/SparcV9/SparcV9TargetMachine.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/Target/SparcV9/SparcV9TargetMachine.cpp b/lib/Target/SparcV9/SparcV9TargetMachine.cpp index 92c670c834..acd76fb021 100644 --- a/lib/Target/SparcV9/SparcV9TargetMachine.cpp +++ b/lib/Target/SparcV9/SparcV9TargetMachine.cpp @@ -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) |