From f49b028780d54c2203f75d96626cc420fb13af3f Mon Sep 17 00:00:00 2001 From: Torok Edwin Date: Tue, 16 Dec 2008 09:06:01 +0000 Subject: use different name for parameter to make it clear that we set DIDescriptor::GV llvm-svn: 61083 --- llvm/lib/Analysis/DebugInfo.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/lib/Analysis') diff --git a/llvm/lib/Analysis/DebugInfo.cpp b/llvm/lib/Analysis/DebugInfo.cpp index 29175a6a2d4..c46091c9554 100644 --- a/llvm/lib/Analysis/DebugInfo.cpp +++ b/llvm/lib/Analysis/DebugInfo.cpp @@ -101,8 +101,8 @@ DIGlobalVariable::DIGlobalVariable(GlobalVariable *GV) DIBlock::DIBlock(GlobalVariable *GV) : DIDescriptor(GV, dwarf::DW_TAG_lexical_block) {} // needed by DIVariable::getType() -DIType::DIType(GlobalVariable *GV) : DIDescriptor(GV) { - if (!GV) return; +DIType::DIType(GlobalVariable *gv) : DIDescriptor(gv) { + if (!gv) return; unsigned tag = getTag(); if (tag != dwarf::DW_TAG_base_type && !DIDerivedType::isDerivedType(tag) && !DICompositeType::isCompositeType(tag)) -- cgit v1.2.3