[Issue 1066] Variadic arguments being passed in registers
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Jan 31 09:35:44 PST 2011
http://d.puremagic.com/issues/show_bug.cgi?id=1066
Iain Buclaw <ibuclaw at ubuntu.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #2 from Iain Buclaw <ibuclaw at ubuntu.com> 2011-01-31 09:33:28 PST ---
The spec does not dictate that variadic functions must be passed on the stack.
This does not prevent the use of _argptr, to protect against the vagaries of
stack layouts on different CPU architectures, use std.stdarg (or core.vararg on
D2) to access the variadic arguments.
Regards
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the D.gnu
mailing list