diff options
author | Craig Topper <craig.topper@gmail.com> | 2014-08-21 05:55:13 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2014-08-21 05:55:13 +0000 |
commit | 71b7b68b741a29c473479c64dbaca00b94e316ab (patch) | |
tree | a58f96876f8c68648a8dfc5b536685dc5890c041 /llvm/lib/Transforms/ObjCARC/ObjCARCContract.cpp | |
parent | 5d1aeba2ea7ff1976b85a57d0591b97fd6e33ae0 (diff) | |
download | bcm5719-llvm-71b7b68b741a29c473479c64dbaca00b94e316ab.tar.gz bcm5719-llvm-71b7b68b741a29c473479c64dbaca00b94e316ab.zip |
Repace SmallPtrSet with SmallPtrSetImpl in function arguments to avoid needing to mention the size.
llvm-svn: 216158
Diffstat (limited to 'llvm/lib/Transforms/ObjCARC/ObjCARCContract.cpp')
-rw-r--r-- | llvm/lib/Transforms/ObjCARC/ObjCARCContract.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Transforms/ObjCARC/ObjCARCContract.cpp b/llvm/lib/Transforms/ObjCARC/ObjCARCContract.cpp index f48d53d11b7..fa932500c1e 100644 --- a/llvm/lib/Transforms/ObjCARC/ObjCARCContract.cpp +++ b/llvm/lib/Transforms/ObjCARC/ObjCARCContract.cpp @@ -72,9 +72,9 @@ namespace { bool ContractAutorelease(Function &F, Instruction *Autorelease, InstructionClass Class, - SmallPtrSet<Instruction *, 4> + SmallPtrSetImpl<Instruction *> &DependingInstructions, - SmallPtrSet<const BasicBlock *, 4> + SmallPtrSetImpl<const BasicBlock *> &Visited); void ContractRelease(Instruction *Release, @@ -150,9 +150,9 @@ ObjCARCContract::OptimizeRetainCall(Function &F, Instruction *Retain) { bool ObjCARCContract::ContractAutorelease(Function &F, Instruction *Autorelease, InstructionClass Class, - SmallPtrSet<Instruction *, 4> + SmallPtrSetImpl<Instruction *> &DependingInstructions, - SmallPtrSet<const BasicBlock *, 4> + SmallPtrSetImpl<const BasicBlock *> &Visited) { const Value *Arg = GetObjCArg(Autorelease); |