On 8 Jun 2012, at 1:42, David Nadlinger wrote:
- What is the ABI for D vararg functions? (extern(D) void foo(…);)

From a cursory look at the generated assembly for a few cases, it seems like on x86_64, they are rewritten to a normal (c-style) variadic function with the TypeInfo of the argument type tuple as fixed parameter (the elements of which are later accessible by _arguments) - correct?

David
_______________________________________________
dmd-internals mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/dmd-internals

Reply via email to