From a59b0a6e3c1a3a725fc266e63977ca771eab669d Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Tue, 26 Apr 2011 19:43:00 +0000 Subject: IRgen/Darwin: Fix refacto introduced in Triple changes. llvm-svn: 130233 --- clang/lib/CodeGen/CGException.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/lib/CodeGen') 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. -- cgit v1.2.3