diff options
author | Alkis Evlogimenos <alkis@evlogimenos.com> | 2003-12-05 10:38:28 +0000 |
---|---|---|
committer | Alkis Evlogimenos <alkis@evlogimenos.com> | 2003-12-05 10:38:28 +0000 |
commit | b27ef248f579b354aab434f63c417ab1103e47e2 (patch) | |
tree | 3e884b95c4568fe30159e7f1fd548c2f01bd9bc6 /include | |
parent | 91ceae6d2060367a5212b15b26faa804ea0448a5 (diff) | |
download | external_llvm-b27ef248f579b354aab434f63c417ab1103e47e2.zip external_llvm-b27ef248f579b354aab434f63c417ab1103e47e2.tar.gz external_llvm-b27ef248f579b354aab434f63c417ab1103e47e2.tar.bz2 |
Move operator<<(std::ostream&, const LiveInterval&) out of the header file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10290 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/CodeGen/LiveIntervalAnalysis.h | 11 | ||||
-rw-r--r-- | include/llvm/CodeGen/LiveIntervals.h | 11 |
2 files changed, 4 insertions, 18 deletions
diff --git a/include/llvm/CodeGen/LiveIntervalAnalysis.h b/include/llvm/CodeGen/LiveIntervalAnalysis.h index b2f0416..2be89fd 100644 --- a/include/llvm/CodeGen/LiveIntervalAnalysis.h +++ b/include/llvm/CodeGen/LiveIntervalAnalysis.h @@ -196,15 +196,8 @@ namespace llvm { return lhs.reg == rhs.reg; } - inline std::ostream& operator<<(std::ostream& os, - const LiveIntervals::Interval& li) { - os << "%reg" << li.reg << " = "; - for (LiveIntervals::Interval::Ranges::const_iterator - i = li.ranges.begin(), e = li.ranges.end(); i != e; ++i) { - os << "[" << i->first << ", " << i->second << "]"; - } - return os; - } + std::ostream& operator<<(std::ostream& os, + const LiveIntervals::Interval& li); } // End llvm namespace diff --git a/include/llvm/CodeGen/LiveIntervals.h b/include/llvm/CodeGen/LiveIntervals.h index b2f0416..2be89fd 100644 --- a/include/llvm/CodeGen/LiveIntervals.h +++ b/include/llvm/CodeGen/LiveIntervals.h @@ -196,15 +196,8 @@ namespace llvm { return lhs.reg == rhs.reg; } - inline std::ostream& operator<<(std::ostream& os, - const LiveIntervals::Interval& li) { - os << "%reg" << li.reg << " = "; - for (LiveIntervals::Interval::Ranges::const_iterator - i = li.ranges.begin(), e = li.ranges.end(); i != e; ++i) { - os << "[" << i->first << ", " << i->second << "]"; - } - return os; - } + std::ostream& operator<<(std::ostream& os, + const LiveIntervals::Interval& li); } // End llvm namespace |