diff options
-rw-r--r-- | include/llvm/Analysis/DebugInfo.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Analysis/DebugInfo.h b/include/llvm/Analysis/DebugInfo.h index d2bb29bd71..402975b76c 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(); |