diff options
author | Chris Lattner <sabre@nondot.org> | 2010-04-04 08:18:47 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-04-04 08:18:47 +0000 |
commit | b23569aff0a6d2b231cb93cc4acd0ac060ba560f (patch) | |
tree | 7a1e02b4ab0f3430a5094b2a99982ba04ddb2194 /lib/Target/Alpha | |
parent | de0f339ec3a5d804b85043174521efec4ad14991 (diff) | |
download | external_llvm-b23569aff0a6d2b231cb93cc4acd0ac060ba560f.zip external_llvm-b23569aff0a6d2b231cb93cc4acd0ac060ba560f.tar.gz external_llvm-b23569aff0a6d2b231cb93cc4acd0ac060ba560f.tar.bz2 |
Momentous day: remove the "O" member from AsmPrinter. Now all
"asm printering" happens through MCStreamer. This also
Streamerizes PIC16 debug info, which escaped my attention.
This removes a leak from LLVMTargetMachine of the 'legacy'
output stream.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100327 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Alpha')
-rw-r--r-- | lib/Target/Alpha/AsmPrinter/AlphaAsmPrinter.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/Target/Alpha/AsmPrinter/AlphaAsmPrinter.cpp b/lib/Target/Alpha/AsmPrinter/AlphaAsmPrinter.cpp index 21efafd..85d7294 100644 --- a/lib/Target/Alpha/AsmPrinter/AlphaAsmPrinter.cpp +++ b/lib/Target/Alpha/AsmPrinter/AlphaAsmPrinter.cpp @@ -29,8 +29,7 @@ #include "llvm/Target/TargetMachine.h" #include "llvm/Target/TargetRegistry.h" #include "llvm/ADT/SmallString.h" -#include "llvm/Support/ErrorHandling.h" -#include "llvm/Support/FormattedStream.h" +#include "llvm/Support/raw_ostream.h" using namespace llvm; namespace { @@ -38,9 +37,8 @@ namespace { /// Unique incrementer for label values for referencing Global values. /// - explicit AlphaAsmPrinter(formatted_raw_ostream &o, TargetMachine &tm, - MCStreamer &Streamer) - : AsmPrinter(o, tm, Streamer) {} + explicit AlphaAsmPrinter(TargetMachine &tm, MCStreamer &Streamer) + : AsmPrinter(tm, Streamer) {} virtual const char *getPassName() const { return "Alpha Assembly Printer"; |