diff --git a/lib/CodeGen/AsmPrinter/DIE.cpp b/lib/CodeGen/AsmPrinter/DIE.cpp index 4722d2b5501..c989ce75abf 100644 --- a/lib/CodeGen/AsmPrinter/DIE.cpp +++ b/lib/CodeGen/AsmPrinter/DIE.cpp @@ -134,7 +134,7 @@ const DIE *DIE::getUnitOrNull() const { return NULL; } -DIEValue *DIE::findAttribute(uint16_t Attribute) const { +DIEValue *DIE::findAttribute(dwarf::Attribute Attribute) const { const SmallVectorImpl &Values = getValues(); const DIEAbbrev &Abbrevs = getAbbrev(); diff --git a/lib/CodeGen/AsmPrinter/DIE.h b/lib/CodeGen/AsmPrinter/DIE.h index fa23fa889e3..b04adf53deb 100644 --- a/lib/CodeGen/AsmPrinter/DIE.h +++ b/lib/CodeGen/AsmPrinter/DIE.h @@ -175,7 +175,7 @@ public: /// findAttribute - Find a value in the DIE with the attribute given, /// returns NULL if no such attribute exists. - DIEValue *findAttribute(uint16_t Attribute) const; + DIEValue *findAttribute(dwarf::Attribute Attribute) const; #ifndef NDEBUG void print(raw_ostream &O, unsigned IndentCount = 0) const;