summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2013-07-11 02:28:36 +0000
committerEli Friedman <eli.friedman@gmail.com>2013-07-11 02:28:36 +0000
commit035b39e3bd07a5f2e12bf5bc5537cc67436af7f6 (patch)
tree5cb638f2ffc0caf529f95e0376f86bb04f491f4c /clang/lib
parent6cbd65d84df9a98493b8493536e3f9958f9275f8 (diff)
downloadbcm5719-llvm-035b39e3bd07a5f2e12bf5bc5537cc67436af7f6.tar.gz
bcm5719-llvm-035b39e3bd07a5f2e12bf5bc5537cc67436af7f6.zip
Fix build.
Sorry about that. llvm-svn: 186054
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/CodeGen/CGExprAgg.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGExprAgg.cpp b/clang/lib/CodeGen/CGExprAgg.cpp
index a67f6593f33..902bf1605a2 100644
--- a/clang/lib/CodeGen/CGExprAgg.cpp
+++ b/clang/lib/CodeGen/CGExprAgg.cpp
@@ -619,7 +619,7 @@ void AggExprEmitter::VisitCastExpr(CastExpr *E) {
// Zero-initialize. (Strictly speaking, we only need to intialize
// the padding at the end, but this is simpler.)
if (!Dest.isZeroed())
- CGF.EmitNullInitialization(Dest.getAddr(), type);
+ CGF.EmitNullInitialization(Dest.getAddr(), atomicType);
// Build a GEP to refer to the subobject.
llvm::Value *valueAddr =
@@ -633,7 +633,7 @@ void AggExprEmitter::VisitCastExpr(CastExpr *E) {
AggValueSlot::IsZeroed);
}
- CGF.EmitAggExpr(E->getSubExpr(), valueDest.getDest());
+ CGF.EmitAggExpr(E->getSubExpr(), valueDest);
return;
}
OpenPOWER on IntegriCloud