ARM: correct handling of .fpu directive
[oota-llvm.git] / lib / DebugInfo / DWARFAbbreviationDeclaration.cpp
index b9805af54fa6fa290ac9df3bc6b0e7297add6ab8..2c9eff68b5be23f6e0790a62116529cc84d365ac 100644 (file)
@@ -7,7 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include "DWARFAbbreviationDeclaration.h"
+#include "llvm/DebugInfo/DWARFAbbreviationDeclaration.h"
 #include "llvm/Support/Dwarf.h"
 #include "llvm/Support/Format.h"
 #include "llvm/Support/raw_ostream.h"
@@ -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) {