From: NAKAMURA Takumi Date: Sat, 13 Feb 2016 07:29:49 +0000 (+0000) Subject: HexagonFrameLowering.cpp: Appease msc18 to give an explicit constructor SlotInfo... X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c2cc8706dd70841b7e396c83a4df9491619828b4;p=platform%2Fupstream%2Fllvm.git HexagonFrameLowering.cpp: Appease msc18 to give an explicit constructor SlotInfo() instead of member initializers. llvm-svn: 260812 --- diff --git a/llvm/lib/Target/Hexagon/HexagonFrameLowering.cpp b/llvm/lib/Target/Hexagon/HexagonFrameLowering.cpp index ac3242b..6287787 100644 --- a/llvm/lib/Target/Hexagon/HexagonFrameLowering.cpp +++ b/llvm/lib/Target/Hexagon/HexagonFrameLowering.cpp @@ -1718,8 +1718,10 @@ void HexagonFrameLowering::optimizeSpillSlots(MachineFunction &MF, struct SlotInfo { BlockRangeMap Map; - unsigned Size = 0; - const TargetRegisterClass *RC = nullptr; + unsigned Size; + const TargetRegisterClass *RC; + + SlotInfo() : Map(), Size(0), RC(nullptr) {} }; BlockIndexMap BlockIndexes;