summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2011-03-21 02:26:01 +0000
committerNick Lewycky <nicholas@mxc.ca>2011-03-21 02:26:01 +0000
commitd078183725a6bd64c2a37304c87bc80afe7b8ec0 (patch)
tree1f9d81f3d7c18678070c2ae691931bc8a93f5d88 /llvm/lib/Transforms
parente4c02400ad1717ab21ddaf85ab5e4b538c80b51e (diff)
downloadbcm5719-llvm-d078183725a6bd64c2a37304c87bc80afe7b8ec0.tar.gz
bcm5719-llvm-d078183725a6bd64c2a37304c87bc80afe7b8ec0.zip
Fix comments
llvm-svn: 127984
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/IPO/GlobalOpt.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/IPO/GlobalOpt.cpp b/llvm/lib/Transforms/IPO/GlobalOpt.cpp
index 2b9b7f24302..60ede4f6d53 100644
--- a/llvm/lib/Transforms/IPO/GlobalOpt.cpp
+++ b/llvm/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.
OpenPOWER on IntegriCloud