aboutsummaryrefslogtreecommitdiff
path: root/lib/VMCore
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-03-09 20:02:42 +0000
committerChris Lattner <sabre@nondot.org>2006-03-09 20:02:42 +0000
commit59bcce5ae52afff2ba4840bfa630b20e8ff4ddb2 (patch)
tree4ecd42e6344403d8bfeb3707990ae19e3761d595 /lib/VMCore
parent8a5343989b934dc16a39c8e44ac95f013d34acea (diff)
remove dbg_declare, it's not used yet.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26659 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore')
-rw-r--r--lib/VMCore/Function.cpp1
-rw-r--r--lib/VMCore/Verifier.cpp1
2 files changed, 0 insertions, 2 deletions
diff --git a/lib/VMCore/Function.cpp b/lib/VMCore/Function.cpp
index 15fd436c45..438fce38ec 100644
--- a/lib/VMCore/Function.cpp
+++ b/lib/VMCore/Function.cpp
@@ -232,7 +232,6 @@ unsigned Function::getIntrinsicID() const {
if (Name == "llvm.dbg.region.start")return Intrinsic::dbg_region_start;
if (Name == "llvm.dbg.region.end") return Intrinsic::dbg_region_end;
if (Name == "llvm.dbg.func.start") return Intrinsic::dbg_func_start;
- if (Name == "llvm.dbg.declare") return Intrinsic::dbg_declare;
break;
case 'f':
if (Name == "llvm.frameaddress") return Intrinsic::frameaddress;
diff --git a/lib/VMCore/Verifier.cpp b/lib/VMCore/Verifier.cpp
index ef88f0d87a..540b2c0fe9 100644
--- a/lib/VMCore/Verifier.cpp
+++ b/lib/VMCore/Verifier.cpp
@@ -909,7 +909,6 @@ void Verifier::visitIntrinsicFunctionCall(Intrinsic::ID ID, CallInst &CI) {
case Intrinsic::dbg_region_start:NumArgs = 1; break;
case Intrinsic::dbg_region_end: NumArgs = 1; break;
case Intrinsic::dbg_func_start: NumArgs = 1; break;
- case Intrinsic::dbg_declare: NumArgs = 1; break;
case Intrinsic::memcpy_i32: NumArgs = 4; break;
case Intrinsic::memcpy_i64: NumArgs = 4; break;