Update version in safe guards.
authorJim Laskey <jlaskey@mac.com>
Wed, 13 Dec 2006 17:49:24 +0000 (17:49 +0000)
committerJim Laskey <jlaskey@mac.com>
Wed, 13 Dec 2006 17:49:24 +0000 (17:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32546 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/IntrinsicInst.cpp

index 84addcc0aa9bbe6a37924b11e71eef940b00e3ff..dbd3c8caa6151adab0a402521a9b93f2be30c943 100644 (file)
@@ -59,7 +59,7 @@ Value *DbgInfoIntrinsic::StripCast(Value *C) {
 
 std::string DbgStopPointInst::getFileName() const {
   // Once the operand indices are verified, update this assert
-  assert(LLVMDebugVersion == (5 << 16) && "Verify operand indices");
+  assert(LLVMDebugVersion == (6 << 16) && "Verify operand indices");
   GlobalVariable *GV = cast<GlobalVariable>(getContext());
   if (!GV->hasInitializer()) return "";
   ConstantStruct *CS = cast<ConstantStruct>(GV->getInitializer());
@@ -68,7 +68,7 @@ std::string DbgStopPointInst::getFileName() const {
 
 std::string DbgStopPointInst::getDirectory() const {
   // Once the operand indices are verified, update this assert
-  assert(LLVMDebugVersion == (5 << 16) && "Verify operand indices");
+  assert(LLVMDebugVersion == (6 << 16) && "Verify operand indices");
   GlobalVariable *GV = cast<GlobalVariable>(getContext());
   if (!GV->hasInitializer()) return "";
   ConstantStruct *CS = cast<ConstantStruct>(GV->getInitializer());