summaryrefslogtreecommitdiff
path: root/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
commitd9ea85ab01fb0f2929ed50223d3758dceea8bcbd (patch)
treebd195c4fd5fbdee13ee748e36b288deaa8c06d15 /lib/CodeGen/VirtRegMap.cpp
parentb515d75856f58a8b3b71d782eb00916d686329ad (diff)
downloadllvm-d9ea85ab01fb0f2929ed50223d3758dceea8bcbd.tar.gz
llvm-d9ea85ab01fb0f2929ed50223d3758dceea8bcbd.tar.bz2
llvm-d9ea85ab01fb0f2929ed50223d3758dceea8bcbd.tar.xz
remove some uses of llvm/Support/Streams.h
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79842 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/VirtRegMap.cpp')
-rw-r--r--lib/CodeGen/VirtRegMap.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/CodeGen/VirtRegMap.cpp b/lib/CodeGen/VirtRegMap.cpp
index 7ee4eeb698..c78f35bdb1 100644
--- a/lib/CodeGen/VirtRegMap.cpp
+++ b/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());
}