[DAG] Refactor the shuffle combining logic in DAGCombiner. NFC.
[oota-llvm.git] / lib / DebugInfo / DWARFAbbreviationDeclaration.cpp
index b9805af54fa6fa290ac9df3bc6b0e7297add6ab8..c3e570e14ccd93dbb0445e1b757552fda074a1ad 100644 (file)
@@ -51,8 +51,7 @@ DWARFAbbreviationDeclaration::extract(DataExtractor Data, uint32_t* OffsetPtr) {
     }
     if (Attr == 0 && Form == 0)
       break;
-    AttributeSpec AS = {Attr, Form};
-    AttributeSpecs.push_back(AS);
+    AttributeSpecs.push_back(AttributeSpec(Attr, Form));
   }
 
   if (Tag == 0) {