Cosmetic changes per EH patch review feedback.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49096 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dale Johannesen
2008-04-02 17:04:45 +00:00
parent 56c2f99f00
commit e00406281d
3 changed files with 8 additions and 8 deletions

View File

@ -3415,7 +3415,7 @@ public:
void BeginFunction(MachineFunction *MF) {
this->MF = MF;
shouldEmitTable = shouldEmitMoves = false;
if (TAI->doesSupportExceptionHandling()) {
if (MMI && TAI->doesSupportExceptionHandling()) {
// Map all labels and get rid of any dead landing pads.
MMI->TidyLandingPads();