lightning
[Top][All Lists]
Advanced

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

Re: [Lightning] jit_state _jit, re-entrancy


From: Paolo Bonzini
Subject: Re: [Lightning] jit_state _jit, re-entrancy
Date: Thu, 06 Dec 2007 07:10:40 +0100
User-agent: Thunderbird 2.0.0.9 (Macintosh/20071031)


void code_add_instr(jit_state _jit, ...) {
   /* use jit_* functions which will reference the _jit local variable */
}

Almost:

void code_add_instr(jit_state *_jitp, ...) {
#define _jit (*_jitp)
  /* use jit_* functions which will reference the _jit macro */
#undef _jit
}


Paolo




reply via email to

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