1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00

Now, getTag() is used by DwarfWriter.

llvm-svn: 61718
This commit is contained in:
Devang Patel 2009-01-05 18:06:21 +00:00
parent 8271066844
commit 74132874c4

View File

@ -48,9 +48,6 @@ namespace llvm {
/// not, the debug info is corrupt and we ignore it.
DIDescriptor(GlobalVariable *GV, unsigned RequiredTag);
unsigned getTag() const {
return getUnsignedField(0) & ~VersionMask;
}
unsigned getVersion() const {
return getUnsignedField(0) & VersionMask;
}
@ -76,6 +73,10 @@ namespace llvm {
bool isNull() const { return GV == 0; }
GlobalVariable *getGV() const { return GV; }
unsigned getTag() const {
return getUnsignedField(0) & ~VersionMask;
}
};
/// DIAnchor - A wrapper for various anchor descriptors.