summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DIE.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2013-11-21 00:48:22 +0000
committerEric Christopher <echristo@gmail.com>2013-11-21 00:48:22 +0000
commit0fe676a243dabc20a660f2332d7072f69c664c42 (patch)
tree59cf054accbda1f62a7097defbaadaffba7a7b4f /llvm/lib/CodeGen/AsmPrinter/DIE.cpp
parent2a10b6401bebbea2523adef5277fb09fde75f587 (diff)
downloadbcm5719-llvm-0fe676a243dabc20a660f2332d7072f69c664c42.tar.gz
bcm5719-llvm-0fe676a243dabc20a660f2332d7072f69c664c42.zip
Constify the DIEs used for pubname and pubtype tables. Propagate
through findAttribute etc. llvm-svn: 195290
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DIE.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DIE.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DIE.cpp b/llvm/lib/CodeGen/AsmPrinter/DIE.cpp
index c6b765a5f0a..cff00a75ab4 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DIE.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DIE.cpp
@@ -133,7 +133,7 @@ const DIE *DIE::getUnitOrNull() const {
return NULL;
}
-DIEValue *DIE::findAttribute(uint16_t Attribute) {
+DIEValue *DIE::findAttribute(uint16_t Attribute) const {
const SmallVectorImpl<DIEValue *> &Values = getValues();
const DIEAbbrev &Abbrevs = getAbbrev();
OpenPOWER on IntegriCloud