diff options
| author | Torok Edwin <edwintorok@gmail.com> | 2008-12-16 09:06:01 +0000 |
|---|---|---|
| committer | Torok Edwin <edwintorok@gmail.com> | 2008-12-16 09:06:01 +0000 |
| commit | f49b028780d54c2203f75d96626cc420fb13af3f (patch) | |
| tree | fe13c3e2689e67faf341dd859b783bc957227ddc /llvm/lib/Analysis | |
| parent | 69c9aa4ce50d7afe9e485409f4470f276ab55b16 (diff) | |
| download | bcm5719-llvm-f49b028780d54c2203f75d96626cc420fb13af3f.tar.gz bcm5719-llvm-f49b028780d54c2203f75d96626cc420fb13af3f.zip | |
use different name for parameter to make it clear that we set DIDescriptor::GV
llvm-svn: 61083
Diffstat (limited to 'llvm/lib/Analysis')
| -rw-r--r-- | llvm/lib/Analysis/DebugInfo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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)) |

