> 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