[Issue 21357] [REG2.093] postblit aliases old and new struct pointers
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Nov 3 20:52:26 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=21357
--- Comment #5 from johanengelen at weka.io ---
(In reply to Iain Buclaw from comment #1)
> (In reply to johanengelen from comment #0)
> > The problem is the following:
> > 1. BatchState is a large struct, which means that `BatchState.copy()` is
> > passed a pointer to a caller-allocated struct to store its return value
> > (instead of returning a value through a register).
>
> I wouldn't count that as a problem,
Neither do I.
The problem is 2 indeed.
-Johan
--
More information about the Digitalmars-d-bugs
mailing list