Minor refactoring.

llvm-svn: 65414
This commit is contained in:
Fariborz Jahanian 2009-02-24 23:38:42 +00:00
parent 240f2b7851
commit 30b3ac5e9e
1 changed files with 2 additions and 3 deletions

View File

@ -155,9 +155,8 @@ static void GetDarwinLanguageOptions(LangOptions &Opts,
if (Maj > 9)
Opts.Blocks = 1;
if (Maj >= 9)
if (Opts.ObjC1 && !strncmp(Triple, "x86_64", 6))
Opts.ObjCNonFragileABI = 1;
if (Maj >= 9 && Opts.ObjC1 && !strncmp(Triple, "x86_64", 6))
Opts.ObjCNonFragileABI = 1;
}