mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
use different name for parameter to make it clear that we set DIDescriptor::GV
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61083 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1447f5ca1f
commit
a70c68efc8
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user