aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Constants.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2014-08-21 05:55:13 +0000
committerCraig Topper <craig.topper@gmail.com>2014-08-21 05:55:13 +0000
commit71b7b68b741a29c473479c64dbaca00b94e316ab (patch)
treea58f96876f8c68648a8dfc5b536685dc5890c041 /llvm/lib/IR/Constants.cpp
parent5d1aeba2ea7ff1976b85a57d0591b97fd6e33ae0 (diff)
downloadllvm-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/IR/Constants.cpp')
-rw-r--r--llvm/lib/IR/Constants.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/Constants.cpp b/llvm/lib/IR/Constants.cpp
index 4cc1e96..b72d850 100644
--- a/llvm/lib/IR/Constants.cpp
+++ b/llvm/lib/IR/Constants.cpp
@@ -283,7 +283,7 @@ void Constant::destroyConstantImpl() {
}
static bool canTrapImpl(const Constant *C,
- SmallPtrSet<const ConstantExpr *, 4> &NonTrappingOps) {
+ SmallPtrSetImpl<const ConstantExpr *> &NonTrappingOps) {
assert(C->getType()->isFirstClassType() && "Cannot evaluate aggregate vals!");
// The only thing that could possibly trap are constant exprs.
const ConstantExpr *CE = dyn_cast<ConstantExpr>(C);