commit | 7fa1db82d096c515690d768b640a02f5c4c93830 | [log] [tgz] |
---|---|---|
author | Anders Carlsson <andersca@mac.com> | Sun May 31 00:34:10 2009 +0000 |
committer | Anders Carlsson <andersca@mac.com> | Sun May 31 00:34:10 2009 +0000 |
tree | 5bdeef74f184f028149496898a055099717e1244 | |
parent | 93690d6bbd22b36993b75d356b46cb278473d9b2 [diff] [blame] |
Emit destructors correctly for temporaries. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72655 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/CGExprAgg.cpp b/lib/CodeGen/CGExprAgg.cpp index 140ecc4..469c830 100644 --- a/lib/CodeGen/CGExprAgg.cpp +++ b/lib/CodeGen/CGExprAgg.cpp
@@ -303,7 +303,7 @@ } else Visit(E->getSubExpr()); - // FIXME: Record the value and dest ptr. + CGF.PushCXXTemporary(E->getTemporary(), Val); } void