aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/IntrinsicLowering.cpp
diff options
context:
space:
mode:
authorJim Laskey <jlaskey@mac.com>2007-02-21 22:53:45 +0000
committerJim Laskey <jlaskey@mac.com>2007-02-21 22:53:45 +0000
commitb180aa17539e14a5430d020bbc7de83c79b7fc4b (patch)
treeb5a4c1f525b4b47f1dbb3448c12ac9772fede9a0 /lib/CodeGen/IntrinsicLowering.cpp
parentc518ccfeb540502176f5cea865f4eedb38d33b13 (diff)
Selection and lowering for exception handling.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34481 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/IntrinsicLowering.cpp')
-rw-r--r--lib/CodeGen/IntrinsicLowering.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/CodeGen/IntrinsicLowering.cpp b/lib/CodeGen/IntrinsicLowering.cpp
index 35e20e3c69..03ca7afb50 100644
--- a/lib/CodeGen/IntrinsicLowering.cpp
+++ b/lib/CodeGen/IntrinsicLowering.cpp
@@ -357,6 +357,11 @@ void IntrinsicLowering::LowerIntrinsicCall(CallInst *CI) {
case Intrinsic::dbg_func_start:
case Intrinsic::dbg_declare:
break; // Simply strip out debugging intrinsics
+
+ case Intrinsic::eh_exception:
+ case Intrinsic::eh_handlers:
+ assert(0 && "Should not have leaked through");
+ break;
case Intrinsic::memcpy_i32:
case Intrinsic::memcpy_i64: {