diff options
author | Chris Lattner <sabre@nondot.org> | 2003-08-25 22:35:01 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-08-25 22:35:01 +0000 |
commit | bfa964699f2ee6390a713bd1f77953d61e38e93d (patch) | |
tree | 8b5ca4cc0f74152f80d23cb544efb396cfb9db79 | |
parent | f30862f33ba8cdf90aa032e478ade6f2ce1fc0c6 (diff) | |
download | external_llvm-bfa964699f2ee6390a713bd1f77953d61e38e93d.zip external_llvm-bfa964699f2ee6390a713bd1f77953d61e38e93d.tar.gz external_llvm-bfa964699f2ee6390a713bd1f77953d61e38e93d.tar.bz2 |
As it turns out, things will be simpler than I first expected. We no longer
need any exception handling intrinsics beyond llvm.unwind. (yaay)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8145 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/Intrinsics.h | 4 | ||||
-rw-r--r-- | lib/VMCore/Function.cpp | 4 | ||||
-rw-r--r-- | lib/VMCore/Verifier.cpp | 2 |
3 files changed, 0 insertions, 10 deletions
diff --git a/include/llvm/Intrinsics.h b/include/llvm/Intrinsics.h index 6c7f6c5..6445eff 100644 --- a/include/llvm/Intrinsics.h +++ b/include/llvm/Intrinsics.h @@ -24,10 +24,6 @@ namespace LLVMIntrinsic { unwind, // Unwind stack until containing invoke is found - // Exception handling intrinsics... - exc_setcurrent, // Set the current pending exception - exc_getcurrent, // Get the current pending exception - // Setjmp/Longjmp intrinsics... setjmp, // Used to represent a setjmp call in C longjmp, // Used to represent a longjmp call in C diff --git a/lib/VMCore/Function.cpp b/lib/VMCore/Function.cpp index ce190c8..ccbe4c2 100644 --- a/lib/VMCore/Function.cpp +++ b/lib/VMCore/Function.cpp @@ -195,10 +195,6 @@ unsigned Function::getIntrinsicID() const { if (getName() == alpha_intrinsics[i].name) return alpha_intrinsics[i].id; break; - case 'e': - if (getName() == "llvm.exc.getcurrent")return LLVMIntrinsic::exc_getcurrent; - if (getName() == "llvm.exc.setcurrent")return LLVMIntrinsic::exc_setcurrent; - break; case 'l': if (getName() == "llvm.longjmp") return LLVMIntrinsic::longjmp; break; diff --git a/lib/VMCore/Verifier.cpp b/lib/VMCore/Verifier.cpp index 23ad642..138542c 100644 --- a/lib/VMCore/Verifier.cpp +++ b/lib/VMCore/Verifier.cpp @@ -523,8 +523,6 @@ void Verifier::visitIntrinsicFunctionCall(LLVMIntrinsic::ID ID, CallInst &CI) { case LLVMIntrinsic::va_copy: NumArgs = 2; break; case LLVMIntrinsic::unwind: NumArgs = 0; break; - case LLVMIntrinsic::exc_setcurrent: NumArgs = 1; break; - case LLVMIntrinsic::exc_getcurrent: NumArgs = 0; break; case LLVMIntrinsic::setjmp: NumArgs = 1; break; case LLVMIntrinsic::longjmp: NumArgs = 2; break; |