summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit4b37a4c712b6c6e0df8083dce530aa06b77d2c66 (patch)
tree10e2596c161437a268356f177095417e756ffac6 /llvm/lib/CodeGen/IntrinsicLowering.cpp
parente4ccf22c34b5ab2ca8bc989fbaa03eb62325ebb5 (diff)
downloadbcm5719-llvm-4b37a4c712b6c6e0df8083dce530aa06b77d2c66.tar.gz
bcm5719-llvm-4b37a4c712b6c6e0df8083dce530aa06b77d2c66.zip
Selection and lowering for exception handling.
llvm-svn: 34481
Diffstat (limited to 'llvm/lib/CodeGen/IntrinsicLowering.cpp')
-rw-r--r--llvm/lib/CodeGen/IntrinsicLowering.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/IntrinsicLowering.cpp b/llvm/lib/CodeGen/IntrinsicLowering.cpp
index 35e20e3c694..03ca7afb506 100644
--- a/llvm/lib/CodeGen/IntrinsicLowering.cpp
+++ b/llvm/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: {
OpenPOWER on IntegriCloud