diff options
author | Chad Rosier <mcrosier@apple.com> | 2012-03-29 17:37:10 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2012-03-29 17:37:10 +0000 |
commit | 615ed1a3a68f5e1d7f1832b08b1014bd0dc2b9ee (patch) | |
tree | 7824e57b6a72be3708858c06fbbf6d45aea87e35 /clang/lib/CodeGen/CGObjC.cpp | |
parent | bd9c910c8c0e30d646c2e1a052297df2032117cb (diff) | |
download | bcm5719-llvm-615ed1a3a68f5e1d7f1832b08b1014bd0dc2b9ee.tar.gz bcm5719-llvm-615ed1a3a68f5e1d7f1832b08b1014bd0dc2b9ee.zip |
Revert r153613 as it's causing large compile-time regressions on the nightly testers.
llvm-svn: 153660
Diffstat (limited to 'clang/lib/CodeGen/CGObjC.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGObjC.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/clang/lib/CodeGen/CGObjC.cpp b/clang/lib/CodeGen/CGObjC.cpp index 192a47b3cc4..b4fc6e0ffa4 100644 --- a/clang/lib/CodeGen/CGObjC.cpp +++ b/clang/lib/CodeGen/CGObjC.cpp @@ -887,8 +887,7 @@ CodeGenFunction::generateObjCGetterBody(const ObjCImplementationDecl *classImpl, // The return value slot is guaranteed to not be aliased, but // that's not necessarily the same as "on the stack", so // we still potentially need objc_memmove_collectable. - EmitAggregateCopy(ReturnValue, LV.getAddress(), ivarType, - /*volatile*/ false, 0, /*destIsCompleteObject*/ true); + EmitAggregateCopy(ReturnValue, LV.getAddress(), ivarType); } else { llvm::Value *value; if (propType->isReferenceType()) { @@ -1313,8 +1312,7 @@ void CodeGenFunction::GenerateObjCCtorDtorMethod(ObjCImplementationDecl *IMP, EmitAggExpr(IvarInit->getInit(), AggValueSlot::forLValue(LV, AggValueSlot::IsDestructed, AggValueSlot::DoesNotNeedGCBarriers, - AggValueSlot::IsNotAliased, - AggValueSlot::IsCompleteObject)); + AggValueSlot::IsNotAliased)); } // constructor returns 'self'. CodeGenTypes &Types = CGM.getTypes(); @@ -2939,8 +2937,7 @@ CodeGenFunction::GenerateObjCAtomicGetterCopyHelperFunction( AggValueSlot::forAddr(DV.getScalarVal(), Alignment, Qualifiers(), AggValueSlot::IsDestructed, AggValueSlot::DoesNotNeedGCBarriers, - AggValueSlot::IsNotAliased, - AggValueSlot::IsCompleteObject)); + AggValueSlot::IsNotAliased)); FinishFunction(); HelperFn = llvm::ConstantExpr::getBitCast(Fn, VoidPtrTy); |