classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: JIT pluggability (ABI Issues)


From: Patrik Reali
Subject: Re: JIT pluggability (ABI Issues)
Date: Tue, 13 Jan 2004 08:37:02 +0100

Hi!

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 <address@hidden> 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
address@hidden   http://per.bothner.com/








reply via email to

[Prev in Thread] Current Thread [Next in Thread]