mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-17 01:00:20 +02:00
Add the new jit_name call to mark function boundaries
* check/3to2.tst, check/add.tst, check/allocai.tst, check/bp.tst, check/call.tst, check/ccall.c, check/clobber.tst, check/divi.tst, check/fib.tst, check/ldsti.tst, check/ldstr-c.tst, check/ldstr.tst, check/ldstxi-c.tst, check/ldstxi.tst, check/ldstxr-c.tst, check/ldstxr.tst, check/lightning.c, check/rpn.tst, check/stack.tst, check/varargs.tst, include/lightning.h, include/lightning/jit_private.h, lib/jit_arm.c, lib/jit_disasm.c, lib/jit_mips.c, lib/jit_note.c, lib/jit_ppc.c, lib/jit_print.c, lib/jit_x86.c, lib/lightning.c: Extend the "jit_note" abstraction with the new "jit_name" call, that receives a string argument, and should usually be called to mark boundaries of functions of code generating jit (that is, it is not expected that the language generating jit map its functions to jit functions).
This commit is contained in:
parent
c5421a8c76
commit
9e86ef12cf
31 changed files with 339 additions and 203 deletions
|
@ -102,6 +102,8 @@ typedef enum {
|
|||
#define jit_data(u,v,w) _jit_data(_jit,u,v,w)
|
||||
jit_code_data,
|
||||
jit_code_save, jit_code_load,
|
||||
#define jit_name(u) _jit_name(_jit,u)
|
||||
jit_code_name,
|
||||
#define jit_note(u, v) _jit_note(_jit, u, v)
|
||||
#define jit_label() _jit_label(_jit)
|
||||
#define jit_forward() _jit_forward(_jit)
|
||||
|
@ -741,6 +743,7 @@ extern jit_state_t *jit_new_state(void);
|
|||
extern jit_pointer_t _jit_address(jit_state_t*, jit_node_t*);
|
||||
extern jit_node_t *_jit_data(jit_state_t*, jit_pointer_t,
|
||||
jit_word_t, jit_int32_t);
|
||||
extern jit_node_t *_jit_name(jit_state_t*, char*);
|
||||
extern jit_node_t *_jit_note(jit_state_t*, char*, int);
|
||||
extern jit_node_t *_jit_label(jit_state_t*);
|
||||
extern jit_node_t *_jit_forward(jit_state_t*);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue