|
From: | Paolo Bonzini |
Subject: | Re: [Lightning] Calling convention |
Date: | Tue, 02 Oct 2007 09:12:47 +0200 |
User-agent: | Thunderbird 2.0.0.6 (Macintosh/20070728) |
Sandro Magi wrote:
Do the jit_prolog, jit_finish, etc. macros implement the C calling convention for the platform?
Yes. For other calling conventions, just use jit_prolog(0) or no prolog at all (see how GNU Smalltalk for example uses continuation passing between JITted code, and C calling convention from the interpreter and to the interpreter primitives).
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |