[llvm-commits] CVS: llvm/tools/llc/llc.cpp

Chris Lattner lattner at apoc.cs.uiuc.edu
Thu Sep 19 11:07:02 PDT 2002


Changes in directory llvm/tools/llc:

llc.cpp updated: 1.58 -> 1.59

---
Log message:

Indent a comment right, add a new one


---
Diffs of the changes:

Index: llvm/tools/llc/llc.cpp
diff -u llvm/tools/llc/llc.cpp:1.58 llvm/tools/llc/llc.cpp:1.59
--- llvm/tools/llc/llc.cpp:1.58	Mon Sep 16 11:35:34 2002
+++ llvm/tools/llc/llc.cpp	Thu Sep 19 11:06:28 2002
@@ -242,8 +242,8 @@
       }
       Out = new std::ofstream(OutputFilename.c_str());
 
-    // Make sure that the Out file gets unlink'd from the disk if we get a
-    // SIGINT
+      // Make sure that the Out file gets unlink'd from the disk if we get a
+      // SIGINT
       RemoveFileOnSignal(OutputFilename);
     }
   else
@@ -286,6 +286,7 @@
   // Run our queue of passes all at once now, efficiently.
   Passes.run(*M.get());
 
+  // Delete the ostream if it's not a stdout stream
   if (Out != &std::cout) delete Out;
 
   return 0;





More information about the llvm-commits mailing list