Debug Info: Reorder accessor to match field order.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182816 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
David Blaikie 2013-05-29 02:05:07 +00:00
parent c57905ef4d
commit 4af9230dbd

View File

@ -467,11 +467,6 @@ namespace llvm {
unsigned isOptimized() const; unsigned isOptimized() const;
/// getScopeLineNumber - Get the beginning of the scope of the
/// function, not necessarily where the name of the program
/// starts.
unsigned getScopeLineNumber() const { return getUnsignedField(19); }
/// Verify - Verify that a subprogram descriptor is well formed. /// Verify - Verify that a subprogram descriptor is well formed.
bool Verify() const; bool Verify() const;
@ -487,6 +482,11 @@ namespace llvm {
} }
MDNode *getVariablesNodes() const; MDNode *getVariablesNodes() const;
DIArray getVariables() const; DIArray getVariables() const;
/// getScopeLineNumber - Get the beginning of the scope of the
/// function, not necessarily where the name of the program
/// starts.
unsigned getScopeLineNumber() const { return getUnsignedField(19); }
}; };
/// DIGlobalVariable - This is a wrapper for a global variable. /// DIGlobalVariable - This is a wrapper for a global variable.