aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/Alpha/AsmPrinter/AlphaAsmPrinter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-04-04 08:18:47 +0000
committerChris Lattner <sabre@nondot.org>2010-04-04 08:18:47 +0000
commit3eac1ed5c28f6fd3b670f996e71709c6b16ab9d6 (patch)
tree7a1e02b4ab0f3430a5094b2a99982ba04ddb2194 /lib/Target/Alpha/AsmPrinter/AlphaAsmPrinter.cpp
parent2ef7d86653f6a913948b533c525e1e3098485ab4 (diff)
downloadexternal_llvm-3eac1ed5c28f6fd3b670f996e71709c6b16ab9d6.tar.gz
external_llvm-3eac1ed5c28f6fd3b670f996e71709c6b16ab9d6.tar.bz2
external_llvm-3eac1ed5c28f6fd3b670f996e71709c6b16ab9d6.zip
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/AsmPrinter/AlphaAsmPrinter.cpp')
-rw-r--r--lib/Target/Alpha/AsmPrinter/AlphaAsmPrinter.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/Target/Alpha/AsmPrinter/AlphaAsmPrinter.cpp b/lib/Target/Alpha/AsmPrinter/AlphaAsmPrinter.cpp
index 21efafd20b..85d7294ad9 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";