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/Analysis/ValueTracking.cpp | |
parent | 5d1aeba2ea7ff1976b85a57d0591b97fd6e33ae0 (diff) | |
download | llvm-71b7b68b741a29c473479c64dbaca00b94e316ab.zip llvm-71b7b68b741a29c473479c64dbaca00b94e316ab.tar.gz llvm-71b7b68b741a29c473479c64dbaca00b94e316ab.tar.bz2 |
Repace SmallPtrSet with SmallPtrSetImpl in function arguments to avoid needing to mention the size.
llvm-svn: 216158
Diffstat (limited to 'llvm/lib/Analysis/ValueTracking.cpp')
-rw-r--r-- | llvm/lib/Analysis/ValueTracking.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/ValueTracking.cpp b/llvm/lib/Analysis/ValueTracking.cpp index 4edfb61..5716e24 100644 --- a/llvm/lib/Analysis/ValueTracking.cpp +++ b/llvm/lib/Analysis/ValueTracking.cpp @@ -1833,7 +1833,7 @@ bool llvm::getConstantStringInfo(const Value *V, StringRef &Str, /// GetStringLengthH - If we can compute the length of the string pointed to by /// the specified pointer, return 'len+1'. If we can't, return 0. -static uint64_t GetStringLengthH(Value *V, SmallPtrSet<PHINode*, 32> &PHIs) { +static uint64_t GetStringLengthH(Value *V, SmallPtrSetImpl<PHINode*> &PHIs) { // Look through noop bitcast instructions. V = V->stripPointerCasts(); |