aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2012-09-18 17:11:47 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2012-09-18 17:11:47 +0000
commit3b682bdf671e5dd0eb70c0498ba18e5c08874fc9 (patch)
tree9f1a05fadd3dbb9008a95d9d01b1074ad6a00bcb /lib/Transforms
parentf145c135f3a28e2c59bd02e475fbf09f4157c9fb (diff)
downloadexternal_llvm-3b682bdf671e5dd0eb70c0498ba18e5c08874fc9.tar.gz
external_llvm-3b682bdf671e5dd0eb70c0498ba18e5c08874fc9.tar.bz2
external_llvm-3b682bdf671e5dd0eb70c0498ba18e5c08874fc9.zip
Fix build for compilers that don't understand injected class names properly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164142 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms')
-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 1215f41769..3607d4cc8c 100644
--- a/lib/Transforms/Scalar/SROA.cpp
+++ b/lib/Transforms/Scalar/SROA.cpp
@@ -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.