mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-18 13:34:04 +00:00
DebugInfo: Remove a few unnecessary wrappers
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234783 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
eed6a11f81
commit
461b82ddb6
@ -513,9 +513,7 @@ public:
|
||||
unsigned getScopeLineNumber() const { return get()->getScopeLine(); }
|
||||
|
||||
DIScopeRef getContext() const { return get()->getScope(); }
|
||||
DISubroutineType getType() const {
|
||||
return DISubroutineType(get()->getType());
|
||||
}
|
||||
DISubroutineType getType() const { return get()->getType(); }
|
||||
|
||||
DITypeRef getContainingType() const { return get()->getContainingType(); }
|
||||
|
||||
@ -525,11 +523,9 @@ public:
|
||||
Function *getFunction() const { return get()->getFunction(); }
|
||||
|
||||
void replaceFunction(Function *F) { get()->replaceFunction(F); }
|
||||
DIArray getTemplateParams() const {
|
||||
return DIArray(get()->getTemplateParams());
|
||||
}
|
||||
DIArray getTemplateParams() const { return get()->getTemplateParams(); }
|
||||
DISubprogram getFunctionDeclaration() const {
|
||||
return DISubprogram(get()->getDeclaration());
|
||||
return get()->getDeclaration();
|
||||
}
|
||||
DIArray getVariables() const { return DIArray(get()->getVariables()); }
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user