[llvm-commits] [llvm] r127716 - /llvm/trunk/lib/Transforms/Scalar/ScalarReplAggregates.cpp
Cameron Zwarich
zwarich at apple.com
Tue Mar 15 17:13:37 PDT 2011
Author: zwarich
Date: Tue Mar 15 19:13:37 2011
New Revision: 127716
URL: http://llvm.org/viewvc/llvm-project?rev=127716&view=rev
Log:
Better use initializer lists.
Modified:
llvm/trunk/lib/Transforms/Scalar/ScalarReplAggregates.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/ScalarReplAggregates.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/ScalarReplAggregates.cpp?rev=127716&r1=127715&r2=127716&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/ScalarReplAggregates.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/ScalarReplAggregates.cpp Tue Mar 15 19:13:37 2011
@@ -240,11 +240,8 @@
public:
explicit ConvertToScalarInfo(unsigned Size, const TargetData &td)
- : AllocaSize(Size), TD(td) {
- IsNotTrivial = false;
- VectorTy = 0;
- HadAVector = false;
- }
+ : AllocaSize(Size), TD(td), IsNotTrivial(false), VectorTy(0),
+ HadAVector(false) { }
AllocaInst *TryConvert(AllocaInst *AI);
More information about the llvm-commits
mailing list