From 3c43b48fa96664318f0c1c17475114fe7015add6 Mon Sep 17 00:00:00 2001
From: Eric Christopher <echristo@apple.com>
Date: Tue, 11 Oct 2011 23:19:35 +0000
Subject: [PATCH] Use public accessors on the scope that is returned.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141739 91177308-0d34-0410-b5e6-96231b3b80d8
---
 include/llvm/Analysis/DebugInfo.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/llvm/Analysis/DebugInfo.h b/include/llvm/Analysis/DebugInfo.h
index d2bb29bd712..402975b76c2 100644
--- a/include/llvm/Analysis/DebugInfo.h
+++ b/include/llvm/Analysis/DebugInfo.h
@@ -708,8 +708,8 @@ namespace llvm {
   public:
     explicit DILexicalBlockFile(const MDNode *N = 0) : DIScope(N) {}
     DIScope getContext() const { return getScope().getFieldAs<DIScope>(1); }
-    unsigned getLineNumber() const { return getScope().getUnsignedField(2); }
-    unsigned getColumnNumber() const { return getScope().getUnsignedField(3); }
+    unsigned getLineNumber() const { return getScope().getLineNumber(); }
+    unsigned getColumnNumber() const { return getScope().getColumnNumber(); }
     StringRef getDirectory() const {
       StringRef dir = getFieldAs<DIFile>(2).getDirectory();
       return !dir.empty() ? dir : getContext().getDirectory();