summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2008-04-01 20:00:57 +0000
committerDale Johannesen <dalej@apple.com>2008-04-01 20:00:57 +0000
commit5e4e051c2ad770a0fbdfbf47cd50da8a732cadf4 (patch)
treecc5efadcb6702758ab0267dbfe7895cf2f4db18d /llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
parent81f929763c8ecbb43a72746bda41615996a2e63d (diff)
downloadbcm5719-llvm-5e4e051c2ad770a0fbdfbf47cd50da8a732cadf4.tar.gz
bcm5719-llvm-5e4e051c2ad770a0fbdfbf47cd50da8a732cadf4.zip
Revert 49006 for the moment.
llvm-svn: 49046
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp')
-rw-r--r--llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp b/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
index 4cc9d2a9bd5..2537d67ddaa 100644
--- a/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
+++ b/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
@@ -1086,9 +1086,8 @@ bool DarwinAsmPrinter::doFinalization(Module &M) {
O << "\n";
- if (TAI->doesSupportExceptionHandling() && MMI) {
+ if (ExceptionHandling && TAI->doesSupportExceptionHandling() && MMI) {
// Add the (possibly multiple) personalities to the set of global values.
- // Only referenced functions get into the Personalities list.
const std::vector<Function *>& Personalities = MMI->getPersonalities();
for (std::vector<Function *>::const_iterator I = Personalities.begin(),
OpenPOWER on IntegriCloud