From: Eric Christopher Date: Wed, 12 Oct 2011 00:38:05 +0000 (+0000) Subject: Make this use a public accessor too. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d0851aae5133b138ee3f87277d0b7775994bea46;p=oota-llvm.git Make this use a public accessor too. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141752 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Analysis/DebugInfo.h b/include/llvm/Analysis/DebugInfo.h index 402975b76c2..9a53c4dadba 100644 --- a/include/llvm/Analysis/DebugInfo.h +++ b/include/llvm/Analysis/DebugInfo.h @@ -707,7 +707,7 @@ namespace llvm { class DILexicalBlockFile : public DIScope { public: explicit DILexicalBlockFile(const MDNode *N = 0) : DIScope(N) {} - DIScope getContext() const { return getScope().getFieldAs(1); } + DIScope getContext() const { return getScope().getContext(); } unsigned getLineNumber() const { return getScope().getLineNumber(); } unsigned getColumnNumber() const { return getScope().getColumnNumber(); } StringRef getDirectory() const {