[llvm-commits] [llvm] r61083 - /llvm/trunk/lib/Analysis/DebugInfo.cpp
Torok Edwin
edwintorok at gmail.com
Tue Dec 16 01:06:03 PST 2008
Author: edwin
Date: Tue Dec 16 03:06:01 2008
New Revision: 61083
URL: http://llvm.org/viewvc/llvm-project?rev=61083&view=rev
Log:
use different name for parameter to make it clear that we set DIDescriptor::GV
Modified:
llvm/trunk/lib/Analysis/DebugInfo.cpp
Modified: llvm/trunk/lib/Analysis/DebugInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/DebugInfo.cpp?rev=61083&r1=61082&r2=61083&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/DebugInfo.cpp (original)
+++ llvm/trunk/lib/Analysis/DebugInfo.cpp Tue Dec 16 03:06:01 2008
@@ -101,8 +101,8 @@
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))
More information about the llvm-commits
mailing list