[llvm-commits] [llvm] r61718 - /llvm/trunk/include/llvm/Analysis/DebugInfo.h
Devang Patel
dpatel at apple.com
Mon Jan 5 10:06:22 PST 2009
Author: dpatel
Date: Mon Jan 5 12:06:21 2009
New Revision: 61718
URL: http://llvm.org/viewvc/llvm-project?rev=61718&view=rev
Log:
Now, getTag() is used by DwarfWriter.
Modified:
llvm/trunk/include/llvm/Analysis/DebugInfo.h
Modified: llvm/trunk/include/llvm/Analysis/DebugInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/DebugInfo.h?rev=61718&r1=61717&r2=61718&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Analysis/DebugInfo.h (original)
+++ llvm/trunk/include/llvm/Analysis/DebugInfo.h Mon Jan 5 12:06:21 2009
@@ -48,9 +48,6 @@
/// 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 @@
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.
More information about the llvm-commits
mailing list