[llvm-commits] CVS: llvm/examples/ModuleMaker/ModuleMaker.cpp

Bill Wendling isanbard at gmail.com
Wed Dec 6 17:32:00 PST 2006



Changes in directory llvm/examples/ModuleMaker:

ModuleMaker.cpp updated: 1.10 -> 1.11
---
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:  (+1 -1)

 ModuleMaker.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/examples/ModuleMaker/ModuleMaker.cpp
diff -u llvm/examples/ModuleMaker/ModuleMaker.cpp:1.10 llvm/examples/ModuleMaker/ModuleMaker.cpp:1.11
--- llvm/examples/ModuleMaker/ModuleMaker.cpp:1.10	Tue Nov 28 18:19:40 2006
+++ llvm/examples/ModuleMaker/ModuleMaker.cpp	Wed Dec  6 19:30:30 2006
@@ -53,7 +53,7 @@
   BB->getInstList().push_back(new ReturnInst(Add));
 
   // Output the bytecode file to stdout
-  WriteBytecodeToFile(M, llvm_cout);
+  WriteBytecodeToFile(M, cout);
 
   // Delete the module and all of its contents.
   delete M;






More information about the llvm-commits mailing list