Changes in directory llvm/lib/Bytecode/Writer:
SlotCalculator.cpp updated: 1.75 -> 1.76 Writer.cpp updated: 1.135 -> 1.136 --- 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: (+7 -7) SlotCalculator.cpp | 2 +- Writer.cpp | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) Index: llvm/lib/Bytecode/Writer/SlotCalculator.cpp diff -u llvm/lib/Bytecode/Writer/SlotCalculator.cpp:1.75 llvm/lib/Bytecode/Writer/SlotCalculator.cpp:1.76 --- llvm/lib/Bytecode/Writer/SlotCalculator.cpp:1.75 Tue Nov 28 18:19:40 2006 +++ llvm/lib/Bytecode/Writer/SlotCalculator.cpp Wed Dec 6 19:30:31 2006 @@ -32,7 +32,7 @@ #if 0 #include "llvm/Support/Streams.h" -#define SC_DEBUG(X) llvm_cerr << X +#define SC_DEBUG(X) cerr << X #else #define SC_DEBUG(X) #endif Index: llvm/lib/Bytecode/Writer/Writer.cpp diff -u llvm/lib/Bytecode/Writer/Writer.cpp:1.135 llvm/lib/Bytecode/Writer/Writer.cpp:1.136 --- llvm/lib/Bytecode/Writer/Writer.cpp:1.135 Wed Dec 6 11:46:31 2006 +++ llvm/lib/Bytecode/Writer/Writer.cpp Wed Dec 6 19:30:31 2006 @@ -276,8 +276,8 @@ break; default: - llvm_cerr << __FILE__ << ":" << __LINE__ << ": Don't know how to serialize" - << " Type '" << T->getDescription() << "'\n"; + cerr << __FILE__ << ":" << __LINE__ << ": Don't know how to serialize" + << " Type '" << T->getDescription() << "'\n"; break; } } @@ -387,8 +387,8 @@ case Type::VoidTyID: case Type::LabelTyID: default: - llvm_cerr << __FILE__ << ":" << __LINE__ << ": Don't know how to serialize" - << " type '" << *CPV->getType() << "'\n"; + cerr << __FILE__ << ":" << __LINE__ << ": Don't know how to serialize" + << " type '" << *CPV->getType() << "'\n"; break; } return; @@ -1239,13 +1239,13 @@ } } -void llvm::WriteBytecodeToFile(const Module *M, llvm_ostream &Out, +void llvm::WriteBytecodeToFile(const Module *M, OStream &Out, bool compress) { assert(M && "You can't write a null module!!"); // Make sure that std::cout is put into binary mode for systems // that care. - if (Out == llvm_cout) + if (Out == cout) sys::Program::ChangeStdoutToBinary(); // Create a vector of unsigned char for the bytecode output. We _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits