Compiler evaluation of parameters

Bala Narasimhan <balasubr@cs.uga.edu>
27 May 1999 23:27:34 -0400

          From comp.compilers

Related articles
Compiler evaluation of parameters balasubr@cs.uga.edu (Bala Narasimhan) (1999-05-27)
Re: Compiler evaluation of parameters albaugh@agames.com (1999-05-29)
| List of all articles for this month |
From: Bala Narasimhan <balasubr@cs.uga.edu>
Newsgroups: comp.compilers
Date: 27 May 1999 23:27:34 -0400
Organization: The University of Georgia
Keywords: practice

Hi,
I would like to know why some C compilers evaluate and push function
parameters from right to left will some others do it from left to right?
Thank you,
Bala
[Right to left makes it easier to match up varargs arguments at runtime.
Left to right is marginally easier to generate code for at compile time.
It's one of those underwear-like things, you like what you like. -John]



Post a followup to this message

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