[llvm-commits] CVS: llvm/tools/dis/dis.cpp
Chris Lattner
lattner at apoc.cs.uiuc.edu
Wed Sep 18 18:30:00 PDT 2002
Changes in directory llvm/tools/dis:
dis.cpp updated: 1.25 -> 1.26
---
Log message:
Avoid deleting the ostream more than once.
---
Diffs of the changes:
Index: llvm/tools/dis/dis.cpp
diff -u llvm/tools/dis/dis.cpp:1.25 llvm/tools/dis/dis.cpp:1.26
--- llvm/tools/dis/dis.cpp:1.25 Fri Aug 30 19:30:15 2002
+++ llvm/tools/dis/dis.cpp Wed Sep 18 18:30:05 2002
@@ -106,7 +106,7 @@
switch (WriteMode) {
case llvm: // Output LLVM assembly
- Passes.add(new PrintModulePass(Out, Out != &std::cout));
+ Passes.add(new PrintModulePass(Out, false));
break;
case c: // Convert LLVM to C
Passes.add(createWriteToCPass(*Out));
More information about the llvm-commits
mailing list