mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-10 05:41:40 +00:00
Simplify.
llvm-svn: 110653
This commit is contained in:
parent
191ed4c41d
commit
8edc7575a4
@ -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