summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/Constants.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/IR/Constants.cpp
parent3a1623f5e4478edf2ff6a50eb5a7cade0087c6e9 (diff)
downloadbcm5719-llvm-5229cfd1638705a7dbf668a840c6015f6b3ecbc6.tar.gz
bcm5719-llvm-5229cfd1638705a7dbf668a840c6015f6b3ecbc6.zip
Repace SmallPtrSet with SmallPtrSetImpl in function arguments to avoid needing to mention the size.
llvm-svn: 215868
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 23845d8e3b8..163420ca5eb 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);
OpenPOWER on IntegriCloud