diff options
author | Dan Gohman <gohman@apple.com> | 2011-08-11 21:06:32 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2011-08-11 21:06:32 +0000 |
commit | fa7eed1f8eee4fd3839e589c3e0e84f79d248c8a (patch) | |
tree | e5251c025d865ec90b1bfe01ef15d821f643ebf5 /lib | |
parent | 1f8d82202375bcc649379a5fd7b07fecf4934323 (diff) | |
download | external_llvm-fa7eed1f8eee4fd3839e589c3e0e84f79d248c8a.tar.gz external_llvm-fa7eed1f8eee4fd3839e589c3e0e84f79d248c8a.tar.bz2 external_llvm-fa7eed1f8eee4fd3839e589c3e0e84f79d248c8a.zip |
Fix typos in comments, and delete an unused function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137352 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Transforms/Scalar/ObjCARC.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/Transforms/Scalar/ObjCARC.cpp b/lib/Transforms/Scalar/ObjCARC.cpp index 6b5dfc237f..f3f91495a5 100644 --- a/lib/Transforms/Scalar/ObjCARC.cpp +++ b/lib/Transforms/Scalar/ObjCARC.cpp @@ -1194,10 +1194,6 @@ namespace { if (RefCount != 0) --RefCount; } - void ClearRefCount() { - RefCount = 0; - } - bool IsKnownIncremented() const { return RefCount > 0; } @@ -1364,7 +1360,7 @@ void BBState::MergePred(const BBState &Other) { /*TopDown=*/true); } - // For each entry in our set, if the other set doens't have an entry with the + // For each entry in our set, if the other set doesn't have an entry with the // same key, force it to merge with an empty entry. for (ptr_iterator MI = top_down_ptr_begin(), ME = top_down_ptr_end(); MI != ME; ++MI) @@ -1389,7 +1385,7 @@ void BBState::MergeSucc(const BBState &Other) { /*TopDown=*/false); } - // For each entry in our set, if the other set doens't have an entry + // For each entry in our set, if the other set doesn't have an entry // with the same key, force it to merge with an empty entry. for (ptr_iterator MI = bottom_up_ptr_begin(), ME = bottom_up_ptr_end(); MI != ME; ++MI) |