commit | 663218b576d8d79dea546c5726d7c90c216b1358 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Fri May 21 17:55:12 2010 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Fri May 21 17:55:12 2010 +0000 |
tree | a657d68dbb932f265df66f6b213ba39e73457c68 | |
parent | b4eae116b036bd34a1d1dffc9b76ddcad72825ee [diff] |
When generating the call arguments in a thunk to call the thunkee, do not make copies non-POD arguments or arguments passed by reference: just copy the pointers directly. This eliminates another source of the dreaded memcpy-of-non-PODs. Fixes PR7188. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104327 91177308-0d34-0410-b5e6-96231b3b80d8