diff options
Diffstat (limited to 'include/llvm/Analysis/DebugInfo.h')
-rw-r--r-- | include/llvm/Analysis/DebugInfo.h | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/include/llvm/Analysis/DebugInfo.h b/include/llvm/Analysis/DebugInfo.h index 29ea8be0c6..3f9f984f41 100644 --- a/include/llvm/Analysis/DebugInfo.h +++ b/include/llvm/Analysis/DebugInfo.h @@ -32,15 +32,6 @@ namespace llvm { class Instruction; class DIDescriptor { - public: - enum { - Version7 = 7 << 16, // Current version of debug information. - Version6 = 6 << 16, // Constant for version 6. - Version5 = 5 << 16, // Constant for version 5. - Version4 = 4 << 16, // Constant for version 4. - VersionMask = 0xffff0000 // Mask for version number. - }; - protected: GlobalVariable *GV; @@ -72,11 +63,11 @@ namespace llvm { GlobalVariable *getGV() const { return GV; } unsigned getVersion() const { - return getUnsignedField(0) & VersionMask; + return getUnsignedField(0) & LLVMDebugVersionMask; } unsigned getTag() const { - return getUnsignedField(0) & ~VersionMask; + return getUnsignedField(0) & ~LLVMDebugVersionMask; } }; |