diff options
| author | Eric Christopher <echristo@apple.com> | 2011-10-12 00:38:05 +0000 |
|---|---|---|
| committer | Eric Christopher <echristo@apple.com> | 2011-10-12 00:38:05 +0000 |
| commit | 7c8798baea6bc936720f9c975decb084346ba4eb (patch) | |
| tree | 40ac36b6835c79d0051fcbb6bbc0f24cc887449e | |
| parent | a9e33d44a6c865699f0ce5808999b915f211b6fe (diff) | |
| download | bcm5719-llvm-7c8798baea6bc936720f9c975decb084346ba4eb.tar.gz bcm5719-llvm-7c8798baea6bc936720f9c975decb084346ba4eb.zip | |
Make this use a public accessor too.
llvm-svn: 141752
| -rw-r--r-- | llvm/include/llvm/Analysis/DebugInfo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/Analysis/DebugInfo.h b/llvm/include/llvm/Analysis/DebugInfo.h index 402975b76c2..9a53c4dadba 100644 --- a/llvm/include/llvm/Analysis/DebugInfo.h +++ b/llvm/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<DIScope>(1); } + DIScope getContext() const { return getScope().getContext(); } unsigned getLineNumber() const { return getScope().getLineNumber(); } unsigned getColumnNumber() const { return getScope().getColumnNumber(); } StringRef getDirectory() const { |

