diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2011-03-21 02:26:01 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2011-03-21 02:26:01 +0000 |
commit | 35ee1c921c55ced16748b90c486c9feeb433c74b (patch) | |
tree | 7bd46e2edb190327b2eafb468f0950859aaa5b2e /lib/Transforms | |
parent | ddfa02ba248c981ed346708ee3a80d834b684f97 (diff) |
Fix comments
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127984 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms')
-rw-r--r-- | lib/Transforms/IPO/GlobalOpt.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Transforms/IPO/GlobalOpt.cpp b/lib/Transforms/IPO/GlobalOpt.cpp index 2b9b7f2430..60ede4f6d5 100644 --- a/lib/Transforms/IPO/GlobalOpt.cpp +++ b/lib/Transforms/IPO/GlobalOpt.cpp @@ -2726,7 +2726,7 @@ static Function *FindCXAAtExit(Module &M) { 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 @@ bool GlobalOpt::OptimizeEmptyGlobalCXXDtors(Function *CXAAtExitFn) { /// 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. |