mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-21 11:10:21 +02:00
Resync with new patch to make functions receive a const argument
This commit is contained in:
parent
e98640e1ac
commit
85ab988cd1
6 changed files with 17 additions and 17 deletions
|
@ -44,7 +44,7 @@
|
|||
/*
|
||||
* Prototypes
|
||||
*/
|
||||
static jit_word_t hash_data(jit_const_pointer_t, jit_word_t);
|
||||
static jit_word_t hash_data(const void*, jit_word_t);
|
||||
|
||||
#define new_pool() _new_pool(_jit)
|
||||
static void _new_pool(jit_state_t*);
|
||||
|
@ -178,7 +178,7 @@ _patch_register(jit_state_t *jit, jit_node_t *node, jit_node_t *link,
|
|||
* Implementation
|
||||
*/
|
||||
void
|
||||
init_jit(char *progname)
|
||||
init_jit(const char *progname)
|
||||
{
|
||||
jit_get_cpu();
|
||||
jit_init_debug(progname);
|
||||
|
@ -536,7 +536,7 @@ _jit_load(jit_state_t *_jit, jit_int32_t reg)
|
|||
}
|
||||
|
||||
static jit_word_t
|
||||
hash_data(jit_const_pointer_t data, jit_word_t length)
|
||||
hash_data(const void *data, jit_word_t length)
|
||||
{
|
||||
const jit_uint8_t *ptr;
|
||||
jit_word_t i, key;
|
||||
|
@ -558,7 +558,7 @@ _jit_address(jit_state_t *_jit, jit_node_t *node)
|
|||
}
|
||||
|
||||
jit_node_t *
|
||||
_jit_data(jit_state_t *_jit, jit_const_pointer_t data,
|
||||
_jit_data(jit_state_t *_jit, const void *data,
|
||||
jit_word_t length, jit_int32_t align)
|
||||
{
|
||||
jit_word_t key;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue