summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/PseudoSourceValue.h
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/CodeGen/PseudoSourceValue.h
parent32c727cd95a7718e10e225bb9fc00be6681706aa (diff)
downloadllvm-edfb72c6288118ab9c900a560ded89dfaa107296.tar.gz
llvm-edfb72c6288118ab9c900a560ded89dfaa107296.tar.bz2
llvm-edfb72c6288118ab9c900a560ded89dfaa107296.tar.xz
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/CodeGen/PseudoSourceValue.h')
-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 4620456ecf..7e805ab5ec 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