SROA.cpp: Appease msvc.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Tue, 18 Sep 2012 15:29:02 +0000 (15:29 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Tue, 18 Sep 2012 15:29:02 +0000 (15:29 +0000)
...I don't know why this could appease msvc...baad.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164130 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/SROA.cpp

index c33fbee6f446f9ea0452a1a5c08262969938145a..09bcc3380f14db163cf617dad29638fc2dbed9d2 100644 (file)
@@ -2487,7 +2487,7 @@ private:
   /// to the correct slot within the aggregate for \p Ty.
   template <void (AggLoadStoreRewriter::*emitFunc)(
                 IRBuilder<> &IRB, Type *Ty, Value *&Agg, Value *Ptr,
-                ArrayRef<unsigned> Indices, ArrayRef<Value *> GEPIndices,
+                ArrayRef<unsigned>, ArrayRef<Value *>,
                 const Twine &Name)>
   void emitSplitOps(IRBuilder<> &IRB, Type *Ty, Value *&Agg, Value *Ptr,
                     SmallVectorImpl<unsigned> &Indices,