diff options
author | Anders Carlsson <andersca@mac.com> | 2009-12-24 20:40:36 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2009-12-24 20:40:36 +0000 |
commit | d2490a91341b57df7a7e54f8a707e7ecde2eeb4e (patch) | |
tree | 52d2846d052172a17ff27e241f6158594c5395a1 /lib/CodeGen/CGCall.h | |
parent | 8aa5f407d9e4787ff08bd66e1a2fe39be174fddc (diff) |
Fill in the return value slot in CGExprAgg::VisitCallExpr. This takes us halfway towards fixing PR5824.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@92142 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGCall.h')
-rw-r--r-- | lib/CodeGen/CGCall.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/CGCall.h b/lib/CodeGen/CGCall.h index 041d1df0b0..427ab5f4cb 100644 --- a/lib/CodeGen/CGCall.h +++ b/lib/CodeGen/CGCall.h @@ -125,6 +125,8 @@ namespace CodeGen { } }; + /// ReturnValueSlot - Contains the address where the return value of a + /// function can be stored, and whether the address is volatile or not. class ReturnValueSlot { llvm::PointerIntPair<llvm::Value *, 1, bool> Value; |