summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/VirtRegMap.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-23 08:43:55 +0000
committerChris Lattner <sabre@nondot.org>2009-08-23 08:43:55 +0000
commit471ba48cb99a9d9bb8964f63363a3470369c2ecc (patch)
treec2df904af193eb7651904e850c607ea08dfbf3e4 /llvm/lib/CodeGen/VirtRegMap.cpp
parent0ad0c21248024f2343810fe3ab3b2d646ffb0ef4 (diff)
downloadbcm5719-llvm-471ba48cb99a9d9bb8964f63363a3470369c2ecc.tar.gz
bcm5719-llvm-471ba48cb99a9d9bb8964f63363a3470369c2ecc.zip
remove some uses of llvm/Support/Streams.h
llvm-svn: 79842
Diffstat (limited to 'llvm/lib/CodeGen/VirtRegMap.cpp')
-rw-r--r--llvm/lib/CodeGen/VirtRegMap.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/llvm/lib/CodeGen/VirtRegMap.cpp b/llvm/lib/CodeGen/VirtRegMap.cpp
index 7ee4eeb6981..c78f35bdb13 100644
--- a/llvm/lib/CodeGen/VirtRegMap.cpp
+++ b/llvm/lib/CodeGen/VirtRegMap.cpp
@@ -259,11 +259,6 @@ bool VirtRegMap::FindUnusedRegisters(LiveIntervals* LIs) {
return AnyUnused;
}
-void VirtRegMap::print(std::ostream &OS, const Module* M) const {
- raw_os_ostream RawOS(OS);
- print(RawOS, M);
-}
-
void VirtRegMap::print(raw_ostream &OS, const Module* M) const {
const TargetRegisterInfo* TRI = MF->getTarget().getRegisterInfo();
@@ -283,5 +278,5 @@ void VirtRegMap::print(raw_ostream &OS, const Module* M) const {
}
void VirtRegMap::dump() const {
- print(cerr);
+ print(errs());
}
OpenPOWER on IntegriCloud