aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExpr.cpp
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2009-09-21 23:03:37 +0000
committerFariborz Jahanian <fjahanian@apple.com>2009-09-21 23:03:37 +0000
commitb924259cc53e4d38e493616715e7b3e95bdee1ef (patch)
treee759646ba36c339ff97d591c586eb00ea8567630 /lib/CodeGen/CGExpr.cpp
parent69181a863c9a87ea84e96157191f855043b86cfb (diff)
Removed -fobjc-newgc-api option. clang now conforms to
gcc-style write-barrier api only. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82493 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
-rw-r--r--lib/CodeGen/CGExpr.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/CodeGen/CGExpr.cpp b/lib/CodeGen/CGExpr.cpp
index 157369d754..2539387e96 100644
--- a/lib/CodeGen/CGExpr.cpp
+++ b/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)) {