simplify PseudoSourceValue printing a bit. Unnest all of PseudoSourceValue.cpp from the llvm namespace.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55293 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2008-08-24 20:37:32 +00:00
parent 32c727cd95
commit edfb72c628
3 changed files with 52 additions and 64 deletions

View File

@@ -28,8 +28,7 @@ namespace llvm {
public:
PseudoSourceValue();
virtual void print(std::ostream &OS) const;
virtual void print(raw_ostream &OS) const;
void print(raw_ostream &OS) const;
/// isConstant - Test whether this PseudoSourceValue has a constant value.
///
@@ -61,16 +60,6 @@ namespace llvm {
/// A SV referencing the jump table
static const PseudoSourceValue *getJumpTable();
};
inline std::ostream &operator<<(std::ostream &OS,const PseudoSourceValue &PSV) {
PSV.print(OS);
return OS;
}
inline raw_ostream &operator<<(raw_ostream &OS, const PseudoSourceValue &PSV) {
PSV.print(OS);
return OS;
}
} // End llvm namespace
#endif