diff options
| author | Michael Gottesman <mgottesman@apple.com> | 2013-02-07 04:12:57 +0000 |
|---|---|---|
| committer | Michael Gottesman <mgottesman@apple.com> | 2013-02-07 04:12:57 +0000 |
| commit | 697d8b9a2679cd2308deb098792a5b25b9ba0668 (patch) | |
| tree | 0ee9245c59c34ba983a126382ffdf6231a522b9d /llvm/lib | |
| parent | ec60f7d335c9e18011383036533dbd606bec324e (diff) | |
| download | bcm5719-llvm-697d8b9a2679cd2308deb098792a5b25b9ba0668.tar.gz bcm5719-llvm-697d8b9a2679cd2308deb098792a5b25b9ba0668.zip | |
Moved some comments due to the recent refactoring of ObjCARC.
1. Moved a comment from ObjCARCOpts.cpp -> ObjCARCContract.cpp.
2. Removed a comment from ObjCARCOpts.cpp that was already moved to
ObjCARCAliasAnalysis.h/.cpp.
llvm-svn: 174581
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Transforms/ObjCARC/ObjCARCContract.cpp | 3 | ||||
| -rw-r--r-- | llvm/lib/Transforms/ObjCARC/ObjCARCOpts.cpp | 6 |
2 files changed, 4 insertions, 5 deletions
diff --git a/llvm/lib/Transforms/ObjCARC/ObjCARCContract.cpp b/llvm/lib/Transforms/ObjCARC/ObjCARCContract.cpp index ca02b002407..1c13d1cbea4 100644 --- a/llvm/lib/Transforms/ObjCARC/ObjCARCContract.cpp +++ b/llvm/lib/Transforms/ObjCARC/ObjCARCContract.cpp @@ -11,6 +11,9 @@ /// Reference Counting and is a system for managing reference counts for objects /// in Objective C. /// +/// This specific file mainly deals with ``contracting'' multiple lower level +/// operations into singular higher level operations through pattern matching. +/// /// WARNING: This file knows about certain library functions. It recognizes them /// by name, and hardwires knowledge of their semantics. /// diff --git a/llvm/lib/Transforms/ObjCARC/ObjCARCOpts.cpp b/llvm/lib/Transforms/ObjCARC/ObjCARCOpts.cpp index e6cd1a7ca9c..7f66b1c9d14 100644 --- a/llvm/lib/Transforms/ObjCARC/ObjCARCOpts.cpp +++ b/llvm/lib/Transforms/ObjCARC/ObjCARCOpts.cpp @@ -13,11 +13,7 @@ /// /// The optimizations performed include elimination of redundant, partially /// redundant, and inconsequential reference count operations, elimination of -/// redundant weak pointer operations, pattern-matching and replacement of -/// low-level operations into higher-level operations, and numerous minor -/// simplifications. -/// -/// This file also defines a simple ARC-aware AliasAnalysis. +/// redundant weak pointer operations, and numerous minor simplifications. /// /// WARNING: This file knows about certain library functions. It recognizes them /// by name, and hardwires knowledge of their semantics. |

