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 | 1749083e2ef69b62de1486465d6336f82a5d86c5 (patch) | |
| tree | 621ef67d068d981b07d96961e97f9bdcb034478c /clang/lib/CodeGen/CGBuiltin.cpp | |
| parent | 4b654415981d07824ad8793abd039dcfdb9e6270 (diff) | |
| download | bcm5719-llvm-1749083e2ef69b62de1486465d6336f82a5d86c5.tar.gz bcm5719-llvm-1749083e2ef69b62de1486465d6336f82a5d86c5.zip | |
Fill in the return value slot in CGExprAgg::VisitCallExpr. This takes us halfway towards fixing PR5824.
llvm-svn: 92142
Diffstat (limited to 'clang/lib/CodeGen/CGBuiltin.cpp')
| -rw-r--r-- | clang/lib/CodeGen/CGBuiltin.cpp | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/clang/lib/CodeGen/CGBuiltin.cpp b/clang/lib/CodeGen/CGBuiltin.cpp index 2fe11a1d07f..a2328e4a498 100644 --- a/clang/lib/CodeGen/CGBuiltin.cpp +++ b/clang/lib/CodeGen/CGBuiltin.cpp @@ -581,6 +581,7 @@ RValue CodeGenFunction::EmitBuiltinExpr(const FunctionDecl *FD,        getContext().BuiltinInfo.isPredefinedLibFunction(BuiltinID))      return EmitCall(E->getCallee()->getType(),                      CGM.getBuiltinLibFunction(FD, BuiltinID), +                    ReturnValueSlot(),                      E->arg_begin(), E->arg_end());    // See if we have a target specific intrinsic. | 

