Changes in directory llvm/examples/ModuleMaker:
Makefile updated: 1.10 -> 1.11 ModuleMaker.cpp updated: 1.7 -> 1.8 --- Log message: WriteBytecodeToFile actually can't throw. --- Diffs of the changes: (+1 -7) Makefile | 1 - ModuleMaker.cpp | 7 +------ 2 files changed, 1 insertion(+), 7 deletions(-) Index: llvm/examples/ModuleMaker/Makefile diff -u llvm/examples/ModuleMaker/Makefile:1.10 llvm/examples/ModuleMaker/Makefile:1.11 --- llvm/examples/ModuleMaker/Makefile:1.10 Fri Jul 28 16:55:54 2006 +++ llvm/examples/ModuleMaker/Makefile Fri Jul 28 17:08:23 2006 @@ -9,7 +9,6 @@ LEVEL=../.. TOOLNAME=ModuleMaker EXAMPLE_TOOL = 1 -REQUIRES_EH = 1 USEDLIBS= LLVMBCWriter.a LLVMCore.a LLVMSupport.a LLVMbzip2.a LLVMSystem.a include $(LEVEL)/Makefile.common Index: llvm/examples/ModuleMaker/ModuleMaker.cpp diff -u llvm/examples/ModuleMaker/ModuleMaker.cpp:1.7 llvm/examples/ModuleMaker/ModuleMaker.cpp:1.8 --- llvm/examples/ModuleMaker/ModuleMaker.cpp:1.7 Sun May 14 14:08:39 2006 +++ llvm/examples/ModuleMaker/ModuleMaker.cpp Fri Jul 28 17:08:23 2006 @@ -54,12 +54,7 @@ BB->getInstList().push_back(new ReturnInst(Add)); // Output the bytecode file to stdout - try { - WriteBytecodeToFile(M, std::cout); - } catch (const std::string &Error) { - std::cerr << "Error writing file: " << Error << "\n"; - return 1; - } + WriteBytecodeToFile(M, std::cout); // Delete the module and all of its contents. delete M; _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits