OSDN Git Service

[Hexagon] fix 'must explicitly initialize the const member' error which clang 3.8...
authorSam McCall <sam.mccall@gmail.com>
Mon, 12 Mar 2018 14:40:48 +0000 (14:40 +0000)
committerSam McCall <sam.mccall@gmail.com>
Mon, 12 Mar 2018 14:40:48 +0000 (14:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@327273 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Hexagon/RDFLiveness.h

index 8cfb6a1..eaeb4ea 100644 (file)
@@ -53,8 +53,8 @@ namespace rdf {
     using RefMap = std::map<RegisterId, NodeRefSet>;
 
     Liveness(MachineRegisterInfo &mri, const DataFlowGraph &g)
-      : DFG(g), TRI(g.getTRI()), PRI(g.getPRI()), MDT(g.getDT()),
-        MDF(g.getDF()), LiveMap(g.getPRI()), NoRegs(g.getPRI()) {}
+        : DFG(g), TRI(g.getTRI()), PRI(g.getPRI()), MDT(g.getDT()),
+          MDF(g.getDF()), LiveMap(g.getPRI()), Empty(), NoRegs(g.getPRI()) {}
 
     NodeList getAllReachingDefs(RegisterRef RefRR, NodeAddr<RefNode*> RefA,
         bool TopShadows, bool FullChain, const RegisterAggr &DefRRs);