s/memcpy/_mesa_memcpy/, s/FREE/_mesa_free/

This commit is contained in:
Brian Paul 2005-10-19 01:26:48 +00:00
parent deadd47aab
commit ca2db58166
4 changed files with 8 additions and 8 deletions

View file

@ -1173,7 +1173,7 @@ static void free_funcs( struct dynfn *l )
foreach_s (f, tmp, l) {
remove_from_list( f );
_mesa_exec_free( f->code );
FREE( f );
_mesa_free( f );
}
}

View file

@ -57,10 +57,10 @@ do { \
char *start = (char *)&FUNC; \
char *end = (char *)&FUNC##_end; \
insert_at_head( &CACHE, dfn ); \
dfn->key[0] = key[0]; \
dfn->key[1] = key[1]; \
dfn->code = _mesa_exec_malloc( end - start ); \
memcpy (dfn->code, start, end - start); \
dfn->key[0] = key[0]; \
dfn->key[1] = key[1]; \
dfn->code = _mesa_exec_malloc( end - start ); \
_mesa_memcpy(dfn->code, start, end - start); \
} \
while ( 0 )

View file

@ -1039,7 +1039,7 @@ static void free_funcs( struct dynfn *l )
foreach_s (f, tmp, l) {
remove_from_list( f );
_mesa_exec_free( f->code );
FREE( f );
_mesa_free( f );
}
}

View file

@ -56,8 +56,8 @@ do { \
char *end = (char *)&FUNC##_end; \
insert_at_head( &CACHE, dfn ); \
dfn->key = key; \
dfn->code = _mesa_exec_malloc( end - start ); \
memcpy (dfn->code, start, end - start); \
dfn->code = _mesa_exec_malloc( end - start ); \
_mesa_memcpy(dfn->code, start, end - start); \
} \
while ( 0 )