[llvm-commits] CVS: llvm/lib/Transforms/Utils/CodeExtractor.cpp LowerSwitch.cpp
Bill Wendling
isanbard at gmail.com
Wed Dec 6 17:31:58 PST 2006
Changes in directory llvm/lib/Transforms/Utils:
CodeExtractor.cpp updated: 1.42 -> 1.43
LowerSwitch.cpp updated: 1.27 -> 1.28
---
Log message:
Changed llvm_ostream et all to OStream. llvm_cerr, llvm_cout, llvm_null, are
now cerr, cout, and NullStream resp.
---
Diffs of the changes: (+3 -4)
CodeExtractor.cpp | 4 ++--
LowerSwitch.cpp | 3 +--
2 files changed, 3 insertions(+), 4 deletions(-)
Index: llvm/lib/Transforms/Utils/CodeExtractor.cpp
diff -u llvm/lib/Transforms/Utils/CodeExtractor.cpp:1.42 llvm/lib/Transforms/Utils/CodeExtractor.cpp:1.43
--- llvm/lib/Transforms/Utils/CodeExtractor.cpp:1.42 Sun Nov 26 04:17:54 2006
+++ llvm/lib/Transforms/Utils/CodeExtractor.cpp Wed Dec 6 19:30:31 2006
@@ -699,10 +699,10 @@
}
}
- //llvm_cerr << "NEW FUNCTION: " << *newFunction;
+ //cerr << "NEW FUNCTION: " << *newFunction;
// verifyFunction(*newFunction);
- // llvm_cerr << "OLD FUNCTION: " << *oldFunction;
+ // cerr << "OLD FUNCTION: " << *oldFunction;
// verifyFunction(*oldFunction);
DEBUG(if (verifyFunction(*newFunction)) abort());
Index: llvm/lib/Transforms/Utils/LowerSwitch.cpp
diff -u llvm/lib/Transforms/Utils/LowerSwitch.cpp:1.27 llvm/lib/Transforms/Utils/LowerSwitch.cpp:1.28
--- llvm/lib/Transforms/Utils/LowerSwitch.cpp:1.27 Wed Dec 6 11:46:33 2006
+++ llvm/lib/Transforms/Utils/LowerSwitch.cpp Wed Dec 6 19:30:31 2006
@@ -96,8 +96,7 @@
// operator<< - Used for debugging purposes.
//
-llvm_ostream& operator<<(llvm_ostream &O,
- const std::vector<LowerSwitch::Case> &C) {
+OStream& operator<<(OStream &O, const std::vector<LowerSwitch::Case> &C) {
O << "[";
for (std::vector<LowerSwitch::Case>::const_iterator B = C.begin(),
More information about the llvm-commits
mailing list