[llvm-commits] [llvm] r163884 - /llvm/trunk/lib/Transforms/Scalar/SROA.cpp

Chandler Carruth chandlerc at gmail.com
Fri Sep 14 02:30:33 PDT 2012


Author: chandlerc
Date: Fri Sep 14 04:30:33 2012
New Revision: 163884

URL: http://llvm.org/viewvc/llvm-project?rev=163884&view=rev
Log:
Speculative change to try to fix older GCC versions that can't handle
the injected class name of a dependent base class here.

Modified:
    llvm/trunk/lib/Transforms/Scalar/SROA.cpp

Modified: llvm/trunk/lib/Transforms/Scalar/SROA.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/SROA.cpp?rev=163884&r1=163883&r2=163884&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/SROA.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/SROA.cpp Fri Sep 14 04:30:33 2012
@@ -457,7 +457,7 @@
 
 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 @@
 
 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()() {





More information about the llvm-commits mailing list