Look at the end of the entry block for an invoke.
authorBill Wendling <isanbard@gmail.com>
Tue, 23 Aug 2011 22:20:16 +0000 (22:20 +0000)
committerBill Wendling <isanbard@gmail.com>
Tue, 23 Aug 2011 22:20:16 +0000 (22:20 +0000)
commitcfcccef926bd142c885dfa3f506bff933939350c
tree61a09fcacb7f7a24da7d65a4fe6c7e97b0bc47bf
parentd8b7dd52525e99b998544bbeecb56907587b25a9
Look at the end of the entry block for an invoke.

The invoke could be at the end of the entry block. If it's the only one, then we
won't process all of the landingpad instructions correctly. This code is
currently ugly, but should be made much nicer once the new EH switch is thrown.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138397 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SjLjEHPrepare.cpp