diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2016-02-13 07:29:49 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2016-02-13 07:29:49 +0000 |
commit | c2cc8706dd70841b7e396c83a4df9491619828b4 (patch) | |
tree | 1c8d17dfb19d4bb2defb90b29996962c1796231b /llvm/lib | |
parent | 8247833515e2f43632455d4132b3e055c64cceda (diff) | |
download | bcm5719-llvm-c2cc8706dd70841b7e396c83a4df9491619828b4.tar.gz bcm5719-llvm-c2cc8706dd70841b7e396c83a4df9491619828b4.zip |
HexagonFrameLowering.cpp: Appease msc18 to give an explicit constructor SlotInfo() instead of member initializers.
llvm-svn: 260812
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Target/Hexagon/HexagonFrameLowering.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/llvm/lib/Target/Hexagon/HexagonFrameLowering.cpp b/llvm/lib/Target/Hexagon/HexagonFrameLowering.cpp index ac3242b7922..62877870395 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; |