Re: Compiling an ellipsis

Alan Donovan <adonovan@imerge.co.uk>
23 Nov 1999 00:36:11 -0500

          From comp.compilers

Related articles
Compiling an ellipsis gcome@NOSPMcyberus.ca (Guillaume Comeau) (1999-11-21)
Re: Compiling an ellipsis adonovan@imerge.co.uk (Alan Donovan) (1999-11-23)
Re: Compiling an ellipsis zalman@netcom15.netcom.com (Zalman Stern) (1999-11-23)
Re: Compiling an ellipsis jejones@microware.com (James Jones) (1999-11-23)
| List of all articles for this month |
From: Alan Donovan <adonovan@imerge.co.uk>
Newsgroups: comp.compilers
Date: 23 Nov 1999 00:36:11 -0500
Organization: Imerge Ltd.
References: 99-11-129
Keywords: C, code

Guillaume Comeau wrote:
> Hence the question: are parameters in ellipsis forcefully on the
> operand stack, or can they be in internal registers as space allows?


I've never seen a compiler that uses an optimised calling convention
(i.e. registers) with variable arg lists. I think you would have
problems because the compiler would have to treat the format string
specially, and it might not be known at compile time.


alan
------------------------------------------------------------------------
    Alan Donovan adonovan@imerge.co.uk http://www.imerge.co.uk
    Imerge Ltd. +44 1223 875265
[I have. See later messages. -John]





Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.