aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/CodeGen/LiveInterval.h
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2006-12-07 01:30:32 +0000
committerBill Wendling <isanbard@gmail.com>2006-12-07 01:30:32 +0000
commite81561909d128c6e2d8033cb5465a49b2596b26a (patch)
tree6f2845604d482bc86d8d12aae500292c561d8cd7 /include/llvm/CodeGen/LiveInterval.h
parent85c671b90870705ba7e10baf99aa306c843f1325 (diff)
downloadexternal_llvm-e81561909d128c6e2d8033cb5465a49b2596b26a.tar.gz
external_llvm-e81561909d128c6e2d8033cb5465a49b2596b26a.tar.bz2
external_llvm-e81561909d128c6e2d8033cb5465a49b2596b26a.zip
Changed llvm_ostream et all to OStream. llvm_cerr, llvm_cout, llvm_null, are
now cerr, cout, and NullStream resp. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32298 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/LiveInterval.h')
-rw-r--r--include/llvm/CodeGen/LiveInterval.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/llvm/CodeGen/LiveInterval.h b/include/llvm/CodeGen/LiveInterval.h
index 16fcd1260e..03a0f579be 100644
--- a/include/llvm/CodeGen/LiveInterval.h
+++ b/include/llvm/CodeGen/LiveInterval.h
@@ -62,7 +62,7 @@ namespace llvm {
};
std::ostream& operator<<(std::ostream& os, const LiveRange &LR);
- inline llvm_ostream& operator<<(llvm_ostream& os, const LiveRange &LR) {
+ inline OStream& operator<<(OStream& os, const LiveRange &LR) {
if (os.stream()) *os.stream() << LR;
return os;
}
@@ -258,9 +258,9 @@ namespace llvm {
return beginNumber() < other.beginNumber();
}
- void print(llvm_ostream OS, const MRegisterInfo *MRI = 0) const;
+ void print(OStream OS, const MRegisterInfo *MRI = 0) const;
void print(std::ostream &OS, const MRegisterInfo *MRI = 0) const {
- print(llvm_ostream(OS), MRI);
+ print(OStream(OS), MRI);
}
void dump() const;
@@ -271,7 +271,7 @@ namespace llvm {
LiveInterval& operator=(const LiveInterval& rhs); // DO NOT IMPLEMENT
};
- inline llvm_ostream &operator<<(llvm_ostream &OS, const LiveInterval &LI) {
+ inline OStream &operator<<(OStream &OS, const LiveInterval &LI) {
LI.print(OS);
return OS;
}