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 11:09:12 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Hi,

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

>   In the "work" branch at http://github.com/pcpa/lightning/tree/work
> I am working on code to convert lightning macros to inline functions,
> so, any feedback is welcome :-)

I think it would prevent users from specifying which jit_state to use
instead of the global one, as in:

  static int
  generate_foo (jit_state *lightning_state)
  #define _jit (*lightning_state)
  {
    jit_stxi_p (bar, JIT_FP, JIT_RET);
    ...
  }
  #undef _jit

Thanks,
Ludo’.




reply via email to

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