Fix build for compilers that don't understand injected class names properly.
authorBenjamin Kramer <benny.kra@googlemail.com>
Tue, 18 Sep 2012 17:11:47 +0000 (17:11 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Tue, 18 Sep 2012 17:11:47 +0000 (17:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164142 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/SROA.cpp

index 1215f4176911a5ed7d60f64171650ee64a11e8ab..3607d4cc8c660df6eaad3e408c4817a86267b6c5 100644 (file)
@@ -2540,7 +2540,7 @@ private:
 
   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 @@ private:
 
   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.