aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/ValueTracking.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2014-08-17 23:47:00 +0000
committerCraig Topper <craig.topper@gmail.com>2014-08-17 23:47:00 +0000
commit5229cfd1638705a7dbf668a840c6015f6b3ecbc6 (patch)
tree6386075afc3c37ab8378d2c8873a0172b000a847 /llvm/lib/Analysis/ValueTracking.cpp
parent3a1623f5e4478edf2ff6a50eb5a7cade0087c6e9 (diff)
downloadllvm-5229cfd1638705a7dbf668a840c6015f6b3ecbc6.zip
llvm-5229cfd1638705a7dbf668a840c6015f6b3ecbc6.tar.gz
llvm-5229cfd1638705a7dbf668a840c6015f6b3ecbc6.tar.bz2
Repace SmallPtrSet with SmallPtrSetImpl in function arguments to avoid needing to mention the size.
llvm-svn: 215868
Diffstat (limited to 'llvm/lib/Analysis/ValueTracking.cpp')
-rw-r--r--llvm/lib/Analysis/ValueTracking.cpp2
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();