summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGException.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2011-04-26 19:43:00 +0000
committerDaniel Dunbar <daniel@zuster.org>2011-04-26 19:43:00 +0000
commita59b0a6e3c1a3a725fc266e63977ca771eab669d (patch)
tree93f4bd9a901255e51be1426072bfde2b29ad4125 /clang/lib/CodeGen/CGException.cpp
parenta4fa5ce91135db818c149f13d66abab12f7a92e1 (diff)
downloadbcm5719-llvm-a59b0a6e3c1a3a725fc266e63977ca771eab669d.tar.gz
bcm5719-llvm-a59b0a6e3c1a3a725fc266e63977ca771eab669d.zip
IRgen/Darwin: Fix refacto introduced in Triple changes.
llvm-svn: 130233
Diffstat (limited to 'clang/lib/CodeGen/CGException.cpp')
-rw-r--r--clang/lib/CodeGen/CGException.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGException.cpp b/clang/lib/CodeGen/CGException.cpp
index 614b42c769b..6cb9599e257 100644
--- a/clang/lib/CodeGen/CGException.cpp
+++ b/clang/lib/CodeGen/CGException.cpp
@@ -266,7 +266,7 @@ static bool PersonalityHasOnlyCXXUses(llvm::Constant *Fn) {
/// when it really needs it.
void CodeGenModule::SimplifyPersonality() {
// For now, this is really a Darwin-specific operation.
- if (Context.Target.getTriple().isOSDarwin())
+ if (!Context.Target.getTriple().isOSDarwin())
return;
// If we're not in ObjC++ -fexceptions, there's nothing to do.
OpenPOWER on IntegriCloud