Oh well. I thought I had done due diligence! One less thing to be wrong about 
in the future.

Félix

> Le 24 déc. 2015 à 16:07:25, Joe Groff <[email protected]> a écrit :
> 
> 
>> On Dec 24, 2015, at 1:04 PM, Félix Cloutier <[email protected]> wrote:
>> 
>> At which point does that happen? The O0 SIL for it has an alloc_stack $Point 
>> in main.
>> 
>> Otherwise, that's hard-to-predict copy elision at work anyway.
> 
> The alloc_stack is passed into materializeForSet, but it's not required to 
> take advantage of it. materializeForSet will either initialize the stack 
> space with the temporary result of `get` from a computed property and return 
> the stack address back, or leave it uninitialized and return the original 
> physical address of a stored property.
> 
> -Joe

_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to