summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PIC16
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-07-22 21:33:09 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-07-22 21:33:09 +0000
commit5899dda08cafda379e848cd4072d8f4e805b6d4e (patch)
tree2dfdd680a8bc467b856817c2cde6630fc03cc82f /llvm/lib/Target/PIC16
parentd6605dbbc034ba8686f7e69b71cf0bb6ec8f0906 (diff)
downloadbcm5719-llvm-5899dda08cafda379e848cd4072d8f4e805b6d4e.tar.gz
bcm5719-llvm-5899dda08cafda379e848cd4072d8f4e805b6d4e.zip
Switch some clients to Value::getName(), and other getName() user
simplification. - NFC llvm-svn: 76789
Diffstat (limited to 'llvm/lib/Target/PIC16')
-rw-r--r--llvm/lib/Target/PIC16/PIC16DebugInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PIC16/PIC16DebugInfo.cpp b/llvm/lib/Target/PIC16/PIC16DebugInfo.cpp
index 56359b3ff0b..bf635f086ce 100644
--- a/llvm/lib/Target/PIC16/PIC16DebugInfo.cpp
+++ b/llvm/lib/Target/PIC16/PIC16DebugInfo.cpp
@@ -327,7 +327,7 @@ void PIC16DbgInfo::EmitCompositeTypeDecls(Module &M) {
// Structures and union declaration's debug info has llvm.dbg.composite
// in its name.
// FIXME: Checking and relying on llvm.dbg.composite name is not a good idea.
- if(I->getName().find("llvm.dbg.composite") != std::string::npos) {
+ if(I->getNameStr().find("llvm.dbg.composite") != std::string::npos) {
GlobalVariable *GV = cast<GlobalVariable >(I);
DICompositeType CTy(GV);
if (CTy.getTag() == dwarf::DW_TAG_union_type ||
OpenPOWER on IntegriCloud