lightning
[Top][All Lists]
Advanced

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

[Lightning] Re: Proof of concept work on inline functions


From: Ludovic Courtès
Subject: [Lightning] Re: Proof of concept work on inline functions
Date: Fri, 10 Sep 2010 15:02:09 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Hi,

Paulo César Pereira de Andrade
<address@hidden>
writes:

> static int
> generate_foo(jit_state *lightning_state)
> {
>     jit_set_state(lightning_state);
>     jit_stxi_p(bar, JIT_FP, JIT_RET);
>     ...
> }

The pointer to the current state would still be global, so that wouldn’t
be reentrant, which is unfortunate (e.g., it’d make it impossible to
have several threads or co-routines JIT’ing at the same time.)

Thanks,
Ludo’.




reply via email to

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