IRgen/Darwin: Fix refacto introduced in Triple changes.
llvm-svn: 130233
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user