summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit2333409d0619208a66280028dac6f20ecd79008f (patch)
tree5807894bc92d2920252605bdac033d84eb6896a1 /llvm/lib/Analysis
parent218c63017134d689ba772c55cfe2467f191b30e0 (diff)
downloadbcm5719-llvm-2333409d0619208a66280028dac6f20ecd79008f.tar.gz
bcm5719-llvm-2333409d0619208a66280028dac6f20ecd79008f.zip
Need only one set of debug info versions enum.
llvm-svn: 62602
Diffstat (limited to 'llvm/lib/Analysis')
-rw-r--r--llvm/lib/Analysis/DebugInfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/DebugInfo.cpp b/llvm/lib/Analysis/DebugInfo.cpp
index 98335ae2dcc..34ccd0a97cf 100644
--- a/llvm/lib/Analysis/DebugInfo.cpp
+++ b/llvm/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) {
OpenPOWER on IntegriCloud