[llvm] r260812 - HexagonFrameLowering.cpp: Appease msc18 to give an explicit constructor SlotInfo() instead of member initializers.
NAKAMURA Takumi via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 12 23:29:49 PST 2016
Author: chapuni
Date: Sat Feb 13 01:29:49 2016
New Revision: 260812
URL: http://llvm.org/viewvc/llvm-project?rev=260812&view=rev
Log:
HexagonFrameLowering.cpp: Appease msc18 to give an explicit constructor SlotInfo() instead of member initializers.
Modified:
llvm/trunk/lib/Target/Hexagon/HexagonFrameLowering.cpp
Modified: llvm/trunk/lib/Target/Hexagon/HexagonFrameLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Hexagon/HexagonFrameLowering.cpp?rev=260812&r1=260811&r2=260812&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Hexagon/HexagonFrameLowering.cpp (original)
+++ llvm/trunk/lib/Target/Hexagon/HexagonFrameLowering.cpp Sat Feb 13 01:29:49 2016
@@ -1718,8 +1718,10 @@ void HexagonFrameLowering::optimizeSpill
struct SlotInfo {
BlockRangeMap Map;
- unsigned Size = 0;
- const TargetRegisterClass *RC = nullptr;
+ unsigned Size;
+ const TargetRegisterClass *RC;
+
+ SlotInfo() : Map(), Size(0), RC(nullptr) {}
};
BlockIndexMap BlockIndexes;
More information about the llvm-commits
mailing list