From 0fe676a243dabc20a660f2332d7072f69c664c42 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Thu, 21 Nov 2013 00:48:22 +0000 Subject: Constify the DIEs used for pubname and pubtype tables. Propagate through findAttribute etc. llvm-svn: 195290 --- llvm/lib/CodeGen/AsmPrinter/DIE.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/CodeGen/AsmPrinter/DIE.cpp') 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 &Values = getValues(); const DIEAbbrev &Abbrevs = getAbbrev(); -- cgit v1.2.3