[LLVMdev] fastcc, tail calls, and gcc
Jeff Kuskin
jk500500 at yahoo.com
Fri Feb 13 06:55:08 PST 2009
--- On Thu, 2/12/09, Eric Christopher <echristo at apple.com> wrote:
> From: Eric Christopher <echristo at apple.com>
> Subject: Re: [LLVMdev] fastcc, tail calls, and gcc
> To: "LLVM Developers Mailing List" <llvmdev at cs.uiuc.edu>
> Date: Thursday, February 12, 2009, 6:28 PM
> On Feb 12, 2009, at 3:23 PM, Albert Graef wrote:
>
> > Jeff Kuskin wrote:
> >> Correct? If not, how do I call a LLVM
> JIT-generated fastcc function
> >> from a function statically compiled by GCC?
> >
> > Well, you can always generate a little wrapper
> function with C calling
> > convention which just calls the fastcc function.
>
> You can do a quick bit of assembly code to make sure that
> the
> arguments are in the right registers for the call.
I am trying this now. Thanks to all for the suggestions.
-- Jeff
More information about the llvm-dev
mailing list