summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2014-03-05 01:10:59 +0000
committerEric Christopher <echristo@gmail.com>2014-03-05 01:10:59 +0000
commit0af53e2f37bc99ccb329cfde50abb421ed36ec58 (patch)
tree59793141ed3196df274f2a769259691efdf16047 /llvm/lib/CodeGen
parentb60c9ea3a76f3cdbd8c1927edc198828a1332161 (diff)
downloadbcm5719-llvm-0af53e2f37bc99ccb329cfde50abb421ed36ec58.tar.gz
bcm5719-llvm-0af53e2f37bc99ccb329cfde50abb421ed36ec58.zip
Use dwarf::Attribute instead of a bare uint16_t.
llvm-svn: 202920
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DIE.cpp2
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DIE.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DIE.cpp b/llvm/lib/CodeGen/AsmPrinter/DIE.cpp
index 4722d2b5501..c989ce75abf 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DIE.cpp
+++ b/llvm/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<DIEValue *> &Values = getValues();
const DIEAbbrev &Abbrevs = getAbbrev();
diff --git a/llvm/lib/CodeGen/AsmPrinter/DIE.h b/llvm/lib/CodeGen/AsmPrinter/DIE.h
index fa23fa889e3..b04adf53deb 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DIE.h
+++ b/llvm/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;
OpenPOWER on IntegriCloud