patch for sparc sysdepCallMethod

Archie Cobbs archie at
Thu Apr 30 18:51:56 PDT 1998

Alexandre Oliva writes:
> There's still an open issue, however: sparc calling conventions state
> that float arguments are promoted to double.  Kaffe's JIT, however,
> [ ... ]
> Still on calling conventions: on most platforms, bytes and shorts are
> automatically promoted to ints when used as function arguments or
> return types.  Kaffe already relies on this (see

FYI- This behavior is specified by ANSI C itself:

- If the function prototype is old-style, integrals promote to
  int and float promotes to double.

- If the function prototype is new-style, each argument is promoted
  to the type declared for it in the function prototype.


Archie Cobbs   *   Whistle Communications, Inc.  *

More information about the kaffe mailing list