mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
IR: Remove dead code in DITemplate*
These are never referenced or filled in. llvm-svn: 228607
This commit is contained in:
parent
0828e3cd51
commit
c4219c892a
@ -722,15 +722,9 @@ public:
|
||||
: DIDescriptor(N) {}
|
||||
|
||||
StringRef getName() const { return getHeaderField(1); }
|
||||
unsigned getLineNumber() const { return getHeaderFieldAs<unsigned>(2); }
|
||||
unsigned getColumnNumber() const { return getHeaderFieldAs<unsigned>(3); }
|
||||
|
||||
DIScopeRef getContext() const { return getFieldAs<DIScopeRef>(1); }
|
||||
DITypeRef getType() const { return getFieldAs<DITypeRef>(2); }
|
||||
StringRef getFilename() const { return getFieldAs<DIFile>(3).getFilename(); }
|
||||
StringRef getDirectory() const {
|
||||
return getFieldAs<DIFile>(3).getDirectory();
|
||||
}
|
||||
bool Verify() const;
|
||||
};
|
||||
|
||||
@ -741,16 +735,10 @@ public:
|
||||
: DIDescriptor(N) {}
|
||||
|
||||
StringRef getName() const { return getHeaderField(1); }
|
||||
unsigned getLineNumber() const { return getHeaderFieldAs<unsigned>(2); }
|
||||
unsigned getColumnNumber() const { return getHeaderFieldAs<unsigned>(3); }
|
||||
|
||||
DIScopeRef getContext() const { return getFieldAs<DIScopeRef>(1); }
|
||||
DITypeRef getType() const { return getFieldAs<DITypeRef>(2); }
|
||||
Metadata *getValue() const;
|
||||
StringRef getFilename() const { return getFieldAs<DIFile>(4).getFilename(); }
|
||||
StringRef getDirectory() const {
|
||||
return getFieldAs<DIFile>(4).getDirectory();
|
||||
}
|
||||
bool Verify() const;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user