Cannot have an llvm.eh.exception call in a non-landing pad block.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138698 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bill Wendling 2011-08-27 04:53:28 +00:00
parent 8557e6c0c1
commit f2cf25b212

View File

@ -84,8 +84,6 @@ cleanup.switch: ; preds = %invoke.cont5
]
cleanup.end: ; preds = %cleanup.switch
%exc6 = call i8* @llvm.eh.exception() ; <i8*> [#uses=1]
store i8* %exc6, i8** %_rethrow
store i32 2, i32* %cleanup.dst7
br label %finally