On 07/12/2012 17:03, Jonas Maebe wrote:
On Intel 64 bit it is RCX or RDI depending on it in Windows or not

What on the others, fixed register, or simply as if it was the last param?
It is *currently* (I don't think we specify anywhere how or in what order 
hidden parameters are passed) always passed as the first parameter. Whether 
this is a register or a memory location depends on the architecture, ABI and 
specified calling convention. On PPC resp. ARM this is always R3 resp. R0 with 
the currently existing ABIs.



According to the current PascalScript (may be wrong):

looks like on ppc, Result (if static array or record) is also passed before params (on other platforms, it is passed last)

What is the order of Result, and self?
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to