diff options
author | Adrian Prantl <aprantl@apple.com> | 2014-04-01 03:50:01 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2014-04-01 03:50:01 +0000 |
commit | 762bdd5118f859422b255fb3cda064c89ffb73b6 (patch) | |
tree | 62b435130312713d8cabcbfcab664a5ed0ee4601 | |
parent | 9316c40a1bc6e782c9549b6f158ec3a49e947acc (diff) | |
download | bcm5719-llvm-762bdd5118f859422b255fb3cda064c89ffb73b6.tar.gz bcm5719-llvm-762bdd5118f859422b255fb3cda064c89ffb73b6.zip |
Remove FIXMEs. The scope of a Variable is always a lexical scope; there is
nothing to be gained from switching this over to a DIScopeRef.
llvm-svn: 205281
-rw-r--r-- | llvm/include/llvm/IR/DebugInfo.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/include/llvm/IR/DebugInfo.h b/llvm/include/llvm/IR/DebugInfo.h index 228df49793d..69beaada9c3 100644 --- a/llvm/include/llvm/IR/DebugInfo.h +++ b/llvm/include/llvm/IR/DebugInfo.h @@ -612,7 +612,6 @@ class DIGlobalVariable : public DIDescriptor { public: explicit DIGlobalVariable(const MDNode *N = 0) : DIDescriptor(N) {} - // FIXME: use DIScopeRef for LTO type uniqueing. DIScope getContext() const { return getFieldAs<DIScope>(2); } StringRef getName() const { return getStringField(3); } StringRef getDisplayName() const { return getStringField(4); } @@ -646,7 +645,6 @@ class DIVariable : public DIDescriptor { public: explicit DIVariable(const MDNode *N = 0) : DIDescriptor(N) {} - // FIXME: use DIScopeRef for LTO type uniqueing. DIScope getContext() const { return getFieldAs<DIScope>(1); } StringRef getName() const { return getStringField(2); } DIFile getFile() const { return getFieldAs<DIFile>(3); } |