What should happen here?
Adam D Ruppe
destructionator at gmail.com
Wed Sep 22 19:10:29 UTC 2021
On Wednesday, 22 September 2021 at 18:30:41 UTC, Ali Çehreli
wrote:
> Shouldn't preserving the contents of registers be the
> responsibility of the compiler or the GC?
The compiler thinks the contents don't need to be preserved at
all.
One thing we might do is if passing a pointer to an extern(C)
function, the compiler assumes it shouldn't stomp the memory
until end of scope.
More information about the Digitalmars-d
mailing list