HexagonFrameLowering.cpp: Appease msc18 to give an explicit constructor SlotInfo...
authorNAKAMURA Takumi <geek4civic@gmail.com>
Sat, 13 Feb 2016 07:29:49 +0000 (07:29 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Sat, 13 Feb 2016 07:29:49 +0000 (07:29 +0000)
llvm-svn: 260812

llvm/lib/Target/Hexagon/HexagonFrameLowering.cpp

index ac3242b..6287787 100644 (file)
@@ -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;