On 13/10/18 16:45, Dmitry Boyarintsev wrote:
On Sat, Oct 13, 2018 at 9:55 AM Dmitry Boyarintsev <skalogryz.li...@gmail.com <mailto:skalogryz.li...@gmail.com>> wrote:

ObjC language doesn't have its own boolean type.
No. I'm convienced now: http://wiki.freepascal.org/ObjC_Bool
It appears the the compiler is always clearing the entire register to pass the paramater. No matter _Bool or BOOL (signed char).
No special treatment for _Bool.

A single test program compiled at a single optimization level does not demonstrate how a particular compiler generates code in all possible situations. In addition, the ABI specification trumps a particular compiler's implementation in any case.


Jonas
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to