diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-02-09 16:28:15 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-02-09 16:28:15 +0000 |
commit | c1322a13b5b3a4e4f5017deeb27d85ac41f7a839 (patch) | |
tree | 0038ecaeec21ddb88cdcaf05437d16c4aeb5a1b2 /lib/Transforms | |
parent | b9f69a41fcb2b38a8aa104b24108acccc657bc38 (diff) | |
download | external_llvm-c1322a13b5b3a4e4f5017deeb27d85ac41f7a839.zip external_llvm-c1322a13b5b3a4e4f5017deeb27d85ac41f7a839.tar.gz external_llvm-c1322a13b5b3a4e4f5017deeb27d85ac41f7a839.tar.bz2 |
Tweak comment readability and grammar.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150183 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 788fee0..9d7477a 100644 --- a/lib/Transforms/IPO/GlobalOpt.cpp +++ b/lib/Transforms/IPO/GlobalOpt.cpp @@ -2753,8 +2753,8 @@ static Function *FindCXAAtExit(Module &M) { /// destructor and can therefore be eliminated. /// Note that we assume that other optimization passes have already simplified /// the code so we only look for a function with a single basic block, where -/// the only allowed instructions side-effect free, 'ret' or 'call' to empty -/// C++ dtor. +/// the only allowed instructions are 'ret', 'call' to an empty C++ dtor and +/// other side-effect free instructions. static bool cxxDtorIsEmpty(const Function &Fn, SmallPtrSet<const Function *, 8> &CalledFunctions) { // FIXME: We could eliminate C++ destructors if they're readonly/readnone and |