What I meant was the order parameters are pushed on the stack. Please excuse my previous underspecified statement.
As a side node, pushing parameters right-to-left makes the implementation of open parameter lists much simpler (maybe this is another reason C tends to use it?).
-Patrik
--On Montag, 12. Januar 2004 12:59 -0800 Per Bothner <[EMAIL PROTECTED]> wrote:
Patrik Reali wrote:
Calling Convention * left-to-right (as in java) or right-to-left (as in C)
Huh? Argument evaluation order is not really part of the ABI. C has *unspecified* evaluation order, so many implementations have evaluated them right-to-left because that's the way the stack grows (on most C implementations). But this is less relevant with optimizing compilers and register-based calling conventions. -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/
_______________________________________________ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath