summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/DwarfWriter.cpp
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2008-04-02 17:04:45 +0000
committerDale Johannesen <dalej@apple.com>2008-04-02 17:04:45 +0000
commit8780ecbbacc19d595c6c92348d2d5d951817fde5 (patch)
tree5dc58e89c0710491f3a52bf45d9b25b462624cbd /llvm/lib/CodeGen/DwarfWriter.cpp
parent018ba60f8e58be4116b4ce7ff287e550de6fcc2e (diff)
downloadbcm5719-llvm-8780ecbbacc19d595c6c92348d2d5d951817fde5.tar.gz
bcm5719-llvm-8780ecbbacc19d595c6c92348d2d5d951817fde5.zip
Cosmetic changes per EH patch review feedback.
llvm-svn: 49096
Diffstat (limited to 'llvm/lib/CodeGen/DwarfWriter.cpp')
-rw-r--r--llvm/lib/CodeGen/DwarfWriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/DwarfWriter.cpp b/llvm/lib/CodeGen/DwarfWriter.cpp
index 0fa956e0972..010dfa0a793 100644
--- a/llvm/lib/CodeGen/DwarfWriter.cpp
+++ b/llvm/lib/CodeGen/DwarfWriter.cpp
@@ -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();
OpenPOWER on IntegriCloud