summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LLVMTargetMachine.cpp
diff options
context:
space:
mode:
authorDavid Greene <greened@obbligato.org>2009-07-14 20:18:05 +0000
committerDavid Greene <greened@obbligato.org>2009-07-14 20:18:05 +0000
commita31f96cf2bb2d4868d629b17b4e8ec106a23e776 (patch)
tree90d314a81dfda17ca4c96c57774b0a789e25df90 /llvm/lib/CodeGen/LLVMTargetMachine.cpp
parentf6a5ab9abddb9c57c116449490114ec695f7e85f (diff)
downloadbcm5719-llvm-a31f96cf2bb2d4868d629b17b4e8ec106a23e776.tar.gz
bcm5719-llvm-a31f96cf2bb2d4868d629b17b4e8ec106a23e776.zip
Have asm printers use formatted_raw_ostream directly to avoid a
dynamic_cast<>. llvm-svn: 75670
Diffstat (limited to 'llvm/lib/CodeGen/LLVMTargetMachine.cpp')
-rw-r--r--llvm/lib/CodeGen/LLVMTargetMachine.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/LLVMTargetMachine.cpp b/llvm/lib/CodeGen/LLVMTargetMachine.cpp
index d7fde5f90a9..b9f4edc7a89 100644
--- a/llvm/lib/CodeGen/LLVMTargetMachine.cpp
+++ b/llvm/lib/CodeGen/LLVMTargetMachine.cpp
@@ -22,7 +22,7 @@
#include "llvm/Target/TargetAsmInfo.h"
#include "llvm/Transforms/Scalar.h"
#include "llvm/Support/CommandLine.h"
-#include "llvm/Support/raw_ostream.h"
+#include "llvm/Support/FormattedStream.h"
using namespace llvm;
namespace llvm {
@@ -56,7 +56,7 @@ EnableFastISelOption("fast-isel", cl::Hidden,
FileModel::Model
LLVMTargetMachine::addPassesToEmitFile(PassManagerBase &PM,
- raw_ostream &Out,
+ formatted_raw_ostream &Out,
CodeGenFileType FileType,
CodeGenOpt::Level OptLevel) {
// Add common CodeGen passes.
OpenPOWER on IntegriCloud