mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-09 11:25:55 +00:00
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205281 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -612,7 +612,6 @@ class DIGlobalVariable : public DIDescriptor {
|
|||||||
public:
|
public:
|
||||||
explicit DIGlobalVariable(const MDNode *N = 0) : DIDescriptor(N) {}
|
explicit DIGlobalVariable(const MDNode *N = 0) : DIDescriptor(N) {}
|
||||||
|
|
||||||
// FIXME: use DIScopeRef for LTO type uniqueing.
|
|
||||||
DIScope getContext() const { return getFieldAs<DIScope>(2); }
|
DIScope getContext() const { return getFieldAs<DIScope>(2); }
|
||||||
StringRef getName() const { return getStringField(3); }
|
StringRef getName() const { return getStringField(3); }
|
||||||
StringRef getDisplayName() const { return getStringField(4); }
|
StringRef getDisplayName() const { return getStringField(4); }
|
||||||
@@ -646,7 +645,6 @@ class DIVariable : public DIDescriptor {
|
|||||||
public:
|
public:
|
||||||
explicit DIVariable(const MDNode *N = 0) : DIDescriptor(N) {}
|
explicit DIVariable(const MDNode *N = 0) : DIDescriptor(N) {}
|
||||||
|
|
||||||
// FIXME: use DIScopeRef for LTO type uniqueing.
|
|
||||||
DIScope getContext() const { return getFieldAs<DIScope>(1); }
|
DIScope getContext() const { return getFieldAs<DIScope>(1); }
|
||||||
StringRef getName() const { return getStringField(2); }
|
StringRef getName() const { return getStringField(2); }
|
||||||
DIFile getFile() const { return getFieldAs<DIFile>(3); }
|
DIFile getFile() const { return getFieldAs<DIFile>(3); }
|
||||||
|
Reference in New Issue
Block a user