mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-19 06:31:18 +00:00
Now, getTag() is used by DwarfWriter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61718 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d68a07650c
commit
2c1623ae0b
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user