diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2009-09-21 23:03:37 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2009-09-21 23:03:37 +0000 |
commit | 71848a3ff12f5be30a37bb422147c25fe4ff1cef (patch) | |
tree | 4a32ebc0c52265daff0907edcf61c8458b15edae /clang/lib | |
parent | 25c9c1427afdbf76d847f052f7822f150bd267d8 (diff) | |
download | bcm5719-llvm-71848a3ff12f5be30a37bb422147c25fe4ff1cef.tar.gz bcm5719-llvm-71848a3ff12f5be30a37bb422147c25fe4ff1cef.zip |
Removed -fobjc-newgc-api option. clang now conforms to
gcc-style write-barrier api only.
llvm-svn: 82493
Diffstat (limited to 'clang/lib')
-rw-r--r-- | clang/lib/CodeGen/CGExpr.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGExpr.cpp b/clang/lib/CodeGen/CGExpr.cpp index 157369d7545..2539387e967 100644 --- a/clang/lib/CodeGen/CGExpr.cpp +++ b/clang/lib/CodeGen/CGExpr.cpp @@ -691,8 +691,7 @@ void CodeGenFunction::EmitStoreThroughExtVectorComponentLValue(RValue Src, // or neither. static void setObjCGCLValueClass(const ASTContext &Ctx, const Expr *E, LValue &LV) { - if (Ctx.getLangOptions().getGCMode() == LangOptions::NonGC || - !Ctx.getLangOptions().ObjCNewGCAPI) + if (Ctx.getLangOptions().getGCMode() == LangOptions::NonGC) return; if (isa<ObjCIvarRefExpr>(E)) { |