]> granicus.if.org Git - llvm/commitdiff
[RDF] Replace {} with explicit constructor, since not all compilers like it
authorKrzysztof Parzyszek <kparzysz@codeaurora.org>
Wed, 1 Mar 2017 19:59:28 +0000 (19:59 +0000)
committerKrzysztof Parzyszek <kparzysz@codeaurora.org>
Wed, 1 Mar 2017 19:59:28 +0000 (19:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@296666 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Hexagon/RDFLiveness.cpp

index 6067be37ef1f2a9d08bea0111ec4219649244a3a..46537d55be32e938da478ed806f05be19f595048 100644 (file)
@@ -262,7 +262,7 @@ std::pair<NodeSet,bool>
 Liveness::getAllReachingDefsRecImpl(RegisterRef RefRR, NodeAddr<RefNode*> RefA,
       NodeSet &Visited, const NodeSet &Defs, unsigned Nest, unsigned MaxNest) {
   if (Nest > MaxNest)
-    return { {}, false };
+    return { NodeSet(), false };
   // Collect all defined registers. Do not consider phis to be defining
   // anything, only collect "real" definitions.
   RegisterAggr DefRRs(PRI);