On Mon, Jan 24, 2022 at 10:56:57PM +0000, Elronnd via Digitalmars-d-announce wrote: > On Friday, 21 January 2022 at 12:55:58 UTC, ag0aep6g wrote: > > I still believe it should be fairly simple: > > > > https://forum.dlang.org/post/ofc0lj$2u4h$1...@digitalmars.com > > There is a simpler solution: put the context pointer in rax. This is > currently a caller-saved register, so there is no problem with > clobbering it. It is used for c-style variadics, but not d-style > ones. Since it is a register, nothing breaks when you have more > parameters than fit in registers. Any other problems?
This may work for x86, but does it work for other platforms? If not, it won't fly on LDC/GDC. T -- Life is complex. It consists of real and imaginary parts. -- YHL