An even better unbreakage...

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32617 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jeff Cohen
2006-12-15 22:57:14 +00:00
parent 19103b11ec
commit c21c5eeb4f
6 changed files with 28 additions and 18 deletions

View File

@ -26,7 +26,6 @@
#include <iosfwd>
#include <vector>
#include <cassert>
#include <ostream>
namespace llvm {
class MRegisterInfo;
@ -63,10 +62,7 @@ namespace llvm {
};
std::ostream& operator<<(std::ostream& os, const LiveRange &LR);
inline OStream& operator<<(OStream& os, const LiveRange &LR) {
if (os.stream()) *os.stream() << LR;
return os;
}
OStream& operator<<(OStream& os, const LiveRange &LR);
inline bool operator<(unsigned V, const LiveRange &LR) {
return V < LR.start;