diff options
author | Devang Patel <dpatel@apple.com> | 2009-01-20 19:22:03 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2009-01-20 19:22:03 +0000 |
commit | 6906ba52f050a6608502987e754a622f5c5111a6 (patch) | |
tree | a84590a46cab29dd92ae2d9eabf36274434031f9 /lib/Analysis/DebugInfo.cpp | |
parent | 04ee5a1d9267e5e6fab8f088095fcb83c3c5cbd1 (diff) |
Need only one set of debug info versions enum.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62602 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/DebugInfo.cpp')
-rw-r--r-- | lib/Analysis/DebugInfo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Analysis/DebugInfo.cpp b/lib/Analysis/DebugInfo.cpp index 98335ae2dc..34ccd0a97c 100644 --- a/lib/Analysis/DebugInfo.cpp +++ b/lib/Analysis/DebugInfo.cpp @@ -291,9 +291,9 @@ Constant *DIFactory::getCastToEmpty(DIDescriptor D) { } Constant *DIFactory::GetTagConstant(unsigned TAG) { - assert((TAG & DIDescriptor::VersionMask) == 0 && + assert((TAG & LLVMDebugVersionMask) == 0 && "Tag too large for debug encoding!"); - return ConstantInt::get(Type::Int32Ty, TAG | DIDescriptor::Version7); + return ConstantInt::get(Type::Int32Ty, TAG | LLVMDebugVersion); } Constant *DIFactory::GetStringConstant(const std::string &String) { |