summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTanya Lattner <tonic@nondot.org>2007-09-18 06:11:27 +0000
committerTanya Lattner <tonic@nondot.org>2007-09-18 06:11:27 +0000
commitfc9f915baa78e3b5ac379012f4844ccc9486beb3 (patch)
tree5422c0d02e43d83fe37644c5b1b696f0a5c1b24e
parent686d853616ea2643415884edf4be471df08d6190 (diff)
downloadllvm-fc9f915baa78e3b5ac379012f4844ccc9486beb3.tar.gz
Merge from mainline.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_21@42083 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/X86/X86AsmPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/X86AsmPrinter.cpp b/lib/Target/X86/X86AsmPrinter.cpp
index 7049cf190ba1..85840495beda 100644
--- a/lib/Target/X86/X86AsmPrinter.cpp
+++ b/lib/Target/X86/X86AsmPrinter.cpp
@@ -352,7 +352,7 @@ bool X86SharedAsmPrinter::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.
const std::vector<Function *>& Personalities = MMI->getPersonalities();