[llvm-commits] [llvm] r127984 - /llvm/trunk/lib/Transforms/IPO/GlobalOpt.cpp

Nick Lewycky nicholas at mxc.ca
Sun Mar 20 19:26:02 PDT 2011


Author: nicholas
Date: Sun Mar 20 21:26:01 2011
New Revision: 127984

URL: http://llvm.org/viewvc/llvm-project?rev=127984&view=rev
Log:
Fix comments

Modified:
    llvm/trunk/lib/Transforms/IPO/GlobalOpt.cpp

Modified: llvm/trunk/lib/Transforms/IPO/GlobalOpt.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/IPO/GlobalOpt.cpp?rev=127984&r1=127983&r2=127984&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/IPO/GlobalOpt.cpp (original)
+++ llvm/trunk/lib/Transforms/IPO/GlobalOpt.cpp Sun Mar 20 21:26:01 2011
@@ -2726,7 +2726,7 @@
 static bool cxxDtorIsEmpty(const Function &Fn,
                            SmallPtrSet<const Function *, 8> &CalledFunctions) {
   // FIXME: We could eliminate C++ destructors if they're readonly/readnone and
-  // unwind, but that doesn't seem worth doing.
+  // nounwind, but that doesn't seem worth doing.
   if (Fn.isDeclaration())
     return false;
 
@@ -2768,7 +2768,7 @@
   ///   This registration, e.g. __cxa_atexit(f,p,d), is intended to cause the
   ///   call f(p) when DSO d is unloaded, before all such termination calls
   ///   registered before this one. It returns zero if registration is
-  ///    successful, nonzero on failure.
+  ///   successful, nonzero on failure.
 
   // This pass will look for calls to __cxa_atexit where the function is trivial
   // and remove them.





More information about the llvm-commits mailing list