mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-27 05:32:22 +00:00
Rename a method.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110586 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e44be63816
commit
e03161c28e
@ -221,7 +221,7 @@ public:
|
||||
const MDNode *getInlinedAt() const { return InlinedAtLocation; }
|
||||
const MDNode *getScopeNode() const { return Desc; }
|
||||
const SmallVector<DbgScope *, 4> &getScopes() { return Scopes; }
|
||||
const SmallVector<DbgVariable *, 8> &getVariables() { return Variables; }
|
||||
const SmallVector<DbgVariable *, 8> &getDbgVariables() { return Variables; }
|
||||
const SmallVector<DbgRange, 4> &getRanges() { return Ranges; }
|
||||
|
||||
/// openInsnRange - This scope covers instruction range starting from MI.
|
||||
@ -1725,7 +1725,7 @@ DIE *DwarfDebug::constructScopeDIE(DbgScope *Scope) {
|
||||
if (!ScopeDIE) return NULL;
|
||||
|
||||
// Add variables to scope.
|
||||
const SmallVector<DbgVariable *, 8> &Variables = Scope->getVariables();
|
||||
const SmallVector<DbgVariable *, 8> &Variables = Scope->getDbgVariables();
|
||||
for (unsigned i = 0, N = Variables.size(); i < N; ++i) {
|
||||
DIE *VariableDIE = constructVariableDIE(Variables[i], Scope);
|
||||
if (VariableDIE)
|
||||
@ -2060,7 +2060,7 @@ void DwarfDebug::endModule() {
|
||||
// Construct subprogram DIE and add variables DIEs.
|
||||
constructSubprogramDIE(SP);
|
||||
DIE *ScopeDIE = getCompileUnit(SP)->getDIE(SP);
|
||||
const SmallVector<DbgVariable *, 8> &Variables = Scope->getVariables();
|
||||
const SmallVector<DbgVariable *, 8> &Variables = Scope->getDbgVariables();
|
||||
for (unsigned i = 0, N = Variables.size(); i < N; ++i) {
|
||||
DIE *VariableDIE = constructVariableDIE(Variables[i], Scope);
|
||||
if (VariableDIE)
|
||||
|
Loading…
x
Reference in New Issue
Block a user