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

Benjamin Kramer benny.kra at googlemail.com
Tue Sep 18 10:11:47 PDT 2012


Author: d0k
Date: Tue Sep 18 12:11:47 2012
New Revision: 164142

URL: http://llvm.org/viewvc/llvm-project?rev=164142&view=rev
Log:
Fix build for compilers that don't understand injected class names properly.

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=164142&r1=164141&r2=164142&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/SROA.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/SROA.cpp Tue Sep 18 12:11:47 2012
@@ -2540,7 +2540,7 @@
 
   struct LoadOpSplitter : public OpSplitter<LoadOpSplitter> {
     LoadOpSplitter(Instruction *InsertionPoint, Value *Ptr)
-      : OpSplitter(InsertionPoint, Ptr) {}
+      : OpSplitter<LoadOpSplitter>(InsertionPoint, Ptr) {}
 
     /// Emit a leaf load of a single value. This is called at the leaves of the
     /// recursive emission to actually load values.
@@ -2572,7 +2572,7 @@
 
   struct StoreOpSplitter : public OpSplitter<StoreOpSplitter> {
     StoreOpSplitter(Instruction *InsertionPoint, Value *Ptr)
-      : OpSplitter(InsertionPoint, Ptr) {}
+      : OpSplitter<StoreOpSplitter>(InsertionPoint, Ptr) {}
 
     /// Emit a leaf store of a single value. This is called at the leaves of the
     /// recursive emission to actually produce stores.





More information about the llvm-commits mailing list