summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/Scalar/SROA.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Scalar/SROA.cpp b/llvm/lib/Transforms/Scalar/SROA.cpp
index 9ecefa6199c..b3f83b2248a 100644
--- a/llvm/lib/Transforms/Scalar/SROA.cpp
+++ b/llvm/lib/Transforms/Scalar/SROA.cpp
@@ -457,7 +457,7 @@ class AllocaPartitioning::PartitionBuilder
public:
PartitionBuilder(const TargetData &TD, AllocaInst &AI, AllocaPartitioning &P)
- : BuilderBase(TD, AI, P) {}
+ : BuilderBase<PartitionBuilder, bool>(TD, AI, P) {}
/// \brief Run the builder over the allocation.
bool operator()() {
@@ -740,7 +740,7 @@ class AllocaPartitioning::UseBuilder : public BuilderBase<UseBuilder> {
public:
UseBuilder(const TargetData &TD, AllocaInst &AI, AllocaPartitioning &P)
- : BuilderBase(TD, AI, P) {}
+ : BuilderBase<UseBuilder>(TD, AI, P) {}
/// \brief Run the builder over the allocation.
void operator()() {
OpenPOWER on IntegriCloud