[fpc-devel] win64 calling convention
Martin
lazarus at mfriebe.de
Thu Nov 29 17:21:15 CET 2012
Just to confirm my observations. (again trying to get pascal script to work)
64 bit windows
procedure FOO(Sender: TSynEdit; const M: String; const P1, P2: TPoint);
"const P1, P2: TPoint" versus "P1, P2: TPoint"
if "const" is NOT used, then TPoint is put into a register
if "const" is used, then TPoint is in mem, and the register is a reference.
Is that right? (I know the doc says, no assumption, and can be ref or
value)
More information about the fpc-devel
mailing list