aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-08-24 20:37:32 +0000
committerChris Lattner <sabre@nondot.org>2008-08-24 20:37:32 +0000
commitedfb72c6288118ab9c900a560ded89dfaa107296 (patch)
tree9ba65331e43056383bc4f8af02bed3d13fccba3a /include/llvm
parent32c727cd95a7718e10e225bb9fc00be6681706aa (diff)
downloadexternal_llvm-edfb72c6288118ab9c900a560ded89dfaa107296.zip
external_llvm-edfb72c6288118ab9c900a560ded89dfaa107296.tar.gz
external_llvm-edfb72c6288118ab9c900a560ded89dfaa107296.tar.bz2
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
Diffstat (limited to 'include/llvm')
-rw-r--r--include/llvm/CodeGen/PseudoSourceValue.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/include/llvm/CodeGen/PseudoSourceValue.h b/include/llvm/CodeGen/PseudoSourceValue.h
index 4620456..7e805ab 100644
--- a/include/llvm/CodeGen/PseudoSourceValue.h
+++ b/include/llvm/CodeGen/PseudoSourceValue.h
@@ -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