summaryrefslogtreecommitdiff
path: root/lib/Analysis
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2009-01-20 19:22:03 +0000
committerDevang Patel <dpatel@apple.com>2009-01-20 19:22:03 +0000
commit6906ba52f050a6608502987e754a622f5c5111a6 (patch)
treea84590a46cab29dd92ae2d9eabf36274434031f9 /lib/Analysis
parent04ee5a1d9267e5e6fab8f088095fcb83c3c5cbd1 (diff)
downloadllvm-6906ba52f050a6608502987e754a622f5c5111a6.tar.gz
llvm-6906ba52f050a6608502987e754a622f5c5111a6.tar.bz2
llvm-6906ba52f050a6608502987e754a622f5c5111a6.tar.xz
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')
-rw-r--r--lib/Analysis/DebugInfo.cpp4
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) {