Skip to content
Commit 4b1942cb authored by Eli Friedman's avatar Eli Friedman
Browse files

Make functions returning a struct indirectly evaluate the returned struct

directly into the sret pointer. This is an optimization in C, but is required
for correctness in C++ for classes with a non-trivial copy constructor.

llvm-svn: 90526
parent 495634e5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment