diff options
author | Bill Wendling <isanbard@gmail.com> | 2012-01-31 01:58:48 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2012-01-31 01:58:48 +0000 |
commit | 8d9d1a0022dd6fd6e2250385dc696f7984132ec1 (patch) | |
tree | a54e987e0fe51a8e5e2675339c27192fe7f41912 /llvm/lib/CodeGen/IntrinsicLowering.cpp | |
parent | ad1fccdb1c3ccedf501b5146e87227b1bc22e74f (diff) | |
download | bcm5719-llvm-8d9d1a0022dd6fd6e2250385dc696f7984132ec1.tar.gz bcm5719-llvm-8d9d1a0022dd6fd6e2250385dc696f7984132ec1.zip |
Remove the now-dead llvm.eh.exception and llvm.eh.selector intrinsics.
llvm-svn: 149331
Diffstat (limited to 'llvm/lib/CodeGen/IntrinsicLowering.cpp')
-rw-r--r-- | llvm/lib/CodeGen/IntrinsicLowering.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/CodeGen/IntrinsicLowering.cpp b/llvm/lib/CodeGen/IntrinsicLowering.cpp index 0f92c2d06bd..a9ca42f69b9 100644 --- a/llvm/lib/CodeGen/IntrinsicLowering.cpp +++ b/llvm/lib/CodeGen/IntrinsicLowering.cpp @@ -448,11 +448,6 @@ void IntrinsicLowering::LowerIntrinsicCall(CallInst *CI) { case Intrinsic::dbg_declare: break; // Simply strip out debugging intrinsics - case Intrinsic::eh_exception: - case Intrinsic::eh_selector: - CI->replaceAllUsesWith(Constant::getNullValue(CI->getType())); - break; - case Intrinsic::eh_typeid_for: // Return something different to eh_selector. CI->replaceAllUsesWith(ConstantInt::get(CI->getType(), 1)); |