[cfe-commits] r70404 - /cfe/trunk/lib/CodeGen/CGObjCMac.cpp
Fariborz Jahanian
fjahanian at apple.com
Wed Apr 29 13:54:55 PDT 2009
On Apr 29, 2009, at 12:43 PM, Daniel Dunbar wrote:
> Hi Fariborz,
>
> Can you explain this change?
>
> The function type being constructed has known arguments (it is
> filled in from the actual arguments), so this change doesn't make
> much sense to me.
It is not needed for 32bit code gen of objc_msgSend. But when
objc_msgSend is used in 64bit API (something I have done locally),
it is necessary for the lower byte of %rax register to get set to 0. I
thought that I set this unconditionally
for now. After all, objc_msgSend is a vararg function and is declared
as such. If this causes problem in 32bit mode, I can set it back
to false.
- Fariborz
>
More information about the cfe-commits
mailing list