Does anyone know how self is passed on PPC or ARM?

On the one hand IRRC I read self is passed as additional param at the end of the list.

But looking at intel code 32 bit, it looks like it always goes into EAX (calling method register)
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?

_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to