mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-29 07:53:31 +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:
parent
85e9580e25
commit
ecbd8e866b
@ -1187,7 +1187,7 @@ static StringRef getRealLinkageName(StringRef LinkageName) {
|
||||
}
|
||||
|
||||
/// createMemberDIE - Create new member DIE.
|
||||
DIE *DwarfDebug::createMemberDIE(const DIDerivedType &DT) {
|
||||
DIE *DwarfDebug::createMemberDIE(DIDerivedType DT) {
|
||||
DIE *MemberDie = new DIE(DT.getTag());
|
||||
StringRef Name = DT.getName();
|
||||
if (!Name.empty())
|
||||
@ -1264,7 +1264,7 @@ DIE *DwarfDebug::createMemberDIE(const DIDerivedType &DT) {
|
||||
}
|
||||
|
||||
/// 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);
|
||||
DIE *SPDie = SPCU->getDIE(SP);
|
||||
if (SPDie)
|
||||
|
@ -419,10 +419,10 @@ private:
|
||||
DIE *constructEnumTypeDIE(DIEnumerator ETy);
|
||||
|
||||
/// createMemberDIE - Create new member DIE.
|
||||
DIE *createMemberDIE(const DIDerivedType &DT);
|
||||
DIE *createMemberDIE(DIDerivedType DT);
|
||||
|
||||
/// 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.
|
||||
DbgScope *getOrCreateDbgScope(const MDNode *Scope, const MDNode *InlinedAt);
|
||||
|
Loading…
Reference in New Issue
Block a user