Speculative change to try to fix older GCC versions that can't handle
authorChandler Carruth <chandlerc@gmail.com>
Fri, 14 Sep 2012 09:30:33 +0000 (09:30 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Fri, 14 Sep 2012 09:30:33 +0000 (09:30 +0000)
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

lib/Transforms/Scalar/SROA.cpp

index 9ecefa6199c51b5526a921adfae89d3ddae67c25..b3f83b2248a50fd0a6c13db398592930a2013ca0 100644 (file)
@@ -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()() {