mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-17 20:23:59 +00:00
Simplify.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110653 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -1187,7 +1187,7 @@ static StringRef getRealLinkageName(StringRef LinkageName) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// createMemberDIE - Create new member DIE.
|
/// createMemberDIE - Create new member DIE.
|
||||||
DIE *DwarfDebug::createMemberDIE(const DIDerivedType &DT) {
|
DIE *DwarfDebug::createMemberDIE(DIDerivedType DT) {
|
||||||
DIE *MemberDie = new DIE(DT.getTag());
|
DIE *MemberDie = new DIE(DT.getTag());
|
||||||
StringRef Name = DT.getName();
|
StringRef Name = DT.getName();
|
||||||
if (!Name.empty())
|
if (!Name.empty())
|
||||||
@ -1264,7 +1264,7 @@ DIE *DwarfDebug::createMemberDIE(const DIDerivedType &DT) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// createSubprogramDIE - Create new DIE using SP.
|
/// createSubprogramDIE - Create new DIE using SP.
|
||||||
DIE *DwarfDebug::createSubprogramDIE(const DISubprogram &SP, bool MakeDecl) {
|
DIE *DwarfDebug::createSubprogramDIE(DISubprogram SP, bool MakeDecl) {
|
||||||
CompileUnit *SPCU = getCompileUnit(SP);
|
CompileUnit *SPCU = getCompileUnit(SP);
|
||||||
DIE *SPDie = SPCU->getDIE(SP);
|
DIE *SPDie = SPCU->getDIE(SP);
|
||||||
if (SPDie)
|
if (SPDie)
|
||||||
|
@ -419,10 +419,10 @@ private:
|
|||||||
DIE *constructEnumTypeDIE(DIEnumerator ETy);
|
DIE *constructEnumTypeDIE(DIEnumerator ETy);
|
||||||
|
|
||||||
/// createMemberDIE - Create new member DIE.
|
/// createMemberDIE - Create new member DIE.
|
||||||
DIE *createMemberDIE(const DIDerivedType &DT);
|
DIE *createMemberDIE(DIDerivedType DT);
|
||||||
|
|
||||||
/// createSubprogramDIE - Create new DIE using SP.
|
/// createSubprogramDIE - Create new DIE using SP.
|
||||||
DIE *createSubprogramDIE(const DISubprogram &SP, bool MakeDecl = false);
|
DIE *createSubprogramDIE(DISubprogram SP, bool MakeDecl = false);
|
||||||
|
|
||||||
/// getOrCreateDbgScope - Create DbgScope for the scope.
|
/// getOrCreateDbgScope - Create DbgScope for the scope.
|
||||||
DbgScope *getOrCreateDbgScope(const MDNode *Scope, const MDNode *InlinedAt);
|
DbgScope *getOrCreateDbgScope(const MDNode *Scope, const MDNode *InlinedAt);
|
||||||
|
Reference in New Issue
Block a user