summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2012-09-14 09:30:33 +0000
committerChandler Carruth <chandlerc@gmail.com>2012-09-14 09:30:33 +0000
commit2a9bf25f60a136ff6cd9f15262974630888e2252 (patch)
tree54e40e6329b46ab4e0385535a43a2c7bf585002d /lib
parent713aa9431d84805c5b7ddce57159d14ee94cd548 (diff)
downloadexternal_llvm-2a9bf25f60a136ff6cd9f15262974630888e2252.zip
external_llvm-2a9bf25f60a136ff6cd9f15262974630888e2252.tar.gz
external_llvm-2a9bf25f60a136ff6cd9f15262974630888e2252.tar.bz2
Speculative change to try to fix older GCC versions that can't handle
the injected class name of a dependent base class here. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163884 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Transforms/Scalar/SROA.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Transforms/Scalar/SROA.cpp b/lib/Transforms/Scalar/SROA.cpp
index 9ecefa6..b3f83b2 100644
--- a/lib/Transforms/Scalar/SROA.cpp
+++ b/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()() {