Debug Info: Reorder accessor to match field order.
authorDavid Blaikie <dblaikie@gmail.com>
Wed, 29 May 2013 02:05:07 +0000 (02:05 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Wed, 29 May 2013 02:05:07 +0000 (02:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182816 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/DebugInfo.h

index cc4352f27a194bb7a701c24d800f4fa32c32fe05..456de34c78494d85842ee4507ec6424991057f67 100644 (file)
@@ -467,11 +467,6 @@ namespace llvm {
 
     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.
     bool Verify() const;
 
@@ -487,6 +482,11 @@ namespace llvm {
     }
     MDNode *getVariablesNodes() 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.