Look at only the terminators of the basic block. Also, if we're using the new EH
authorBill Wendling <isanbard@gmail.com>
Thu, 25 Aug 2011 23:48:11 +0000 (23:48 +0000)
committerBill Wendling <isanbard@gmail.com>
Thu, 25 Aug 2011 23:48:11 +0000 (23:48 +0000)
commit09908c4b4a0b25eab4cb496d95d9dcc93f2214f2
tree77564f056eed877a8f7c9f92b0ced5707292f004
parentc82a61c6c611857e47c3d6c6dbd069c27cd6d0f2
Look at only the terminators of the basic block. Also, if we're using the new EH
scheme, return 'true' so that it doesn't try to run the old EH scheme's fixup on
the new code.

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