diff options
author | Chris Lattner <sabre@nondot.org> | 2002-02-24 23:01:21 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-02-24 23:01:21 +0000 |
commit | 1ddf664f743f3c8d2ff220888386a9b84396dcab (patch) | |
tree | ea8b236c27ef4974372cbc2c3cf6ed15b8b85da6 /lib/Target | |
parent | 04bb837cc0edf2f1908a0ec9b04989598a13cc6a (diff) | |
download | external_llvm-1ddf664f743f3c8d2ff220888386a9b84396dcab.zip external_llvm-1ddf664f743f3c8d2ff220888386a9b84396dcab.tar.gz external_llvm-1ddf664f743f3c8d2ff220888386a9b84396dcab.tar.bz2 |
Make it compile with GCC 3.0.4
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1786 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-rw-r--r-- | lib/Target/SparcV9/LiveVar/BBLiveVar.cpp | 1 | ||||
-rw-r--r-- | lib/Target/SparcV9/LiveVar/ValueSet.cpp | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/SparcV9/LiveVar/BBLiveVar.cpp b/lib/Target/SparcV9/LiveVar/BBLiveVar.cpp index 1468301..c6b8a3b 100644 --- a/lib/Target/SparcV9/LiveVar/BBLiveVar.cpp +++ b/lib/Target/SparcV9/LiveVar/BBLiveVar.cpp @@ -10,6 +10,7 @@ #include "llvm/BasicBlock.h" #include "llvm/Support/CFG.h" #include "Support/SetOperations.h" +#include <iostream> /// BROKEN: Should not include sparc stuff directly into here #include "../../Target/Sparc/SparcInternals.h" // Only for PHI defn diff --git a/lib/Target/SparcV9/LiveVar/ValueSet.cpp b/lib/Target/SparcV9/LiveVar/ValueSet.cpp index 88dd25a..ec1d780 100644 --- a/lib/Target/SparcV9/LiveVar/ValueSet.cpp +++ b/lib/Target/SparcV9/LiveVar/ValueSet.cpp @@ -5,7 +5,7 @@ #include "llvm/ConstantVals.h" #include <iostream> -ostream &operator<<(ostream &O, RAV V) { // func to print a Value +std::ostream &operator<<(std::ostream &O, RAV V) { // func to print a Value const Value *v = V.V; if (v->hasName()) return O << v << "(" << v->getName() << ") "; |