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/Utils/GlobalStatus.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/Utils/GlobalStatus.cpp')
-rw-r--r-- | llvm/lib/Transforms/Utils/GlobalStatus.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/GlobalStatus.cpp b/llvm/lib/Transforms/Utils/GlobalStatus.cpp index 12057e4b929..33e34a9941e 100644 --- a/llvm/lib/Transforms/Utils/GlobalStatus.cpp +++ b/llvm/lib/Transforms/Utils/GlobalStatus.cpp @@ -45,7 +45,7 @@ bool llvm::isSafeToDestroyConstant(const Constant *C) { } static bool analyzeGlobalAux(const Value *V, GlobalStatus &GS, - SmallPtrSet<const PHINode *, 16> &PhiUsers) { + SmallPtrSetImpl<const PHINode *> &PhiUsers) { for (const Use &U : V->uses()) { const User *UR = U.getUser(); if (const ConstantExpr *CE = dyn_cast<ConstantExpr>(UR)) { |