Thread overview
Inference of GC allocation scope
Nov 16, 2017
Nordlöw
Nov 16, 2017
Nordlöw
November 16, 2017
Are there any plans on a compiler pass that finds scoped GC-allocations and makes their destructors deterministic similar to D's struct scope behaviour?
November 16, 2017
On Thursday, 16 November 2017 at 17:29:56 UTC, Nordlöw wrote:
> Are there any plans on a compiler pass that finds scoped GC-allocations and makes their destructors deterministic similar to D's struct scope behaviour?

https://github.com/ldc-developers/ldc/blob/master/gen/passes/GarbageCollect2Stack.cpp
November 16, 2017
On Thursday, 16 November 2017 at 17:39:02 UTC, Petar Kirov [ZombineDev] wrote:
> https://github.com/ldc-developers/ldc/blob/master/gen/passes/GarbageCollect2Stack.cpp

Does this include GC allocations that don't fit on stack?