mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-27 05:30:24 +01:00
gallivm: Remove gallivm_free_function.
Unused. Deprecated by gallivm_free_ir(). Reviewed-by: Roland Scheidegger <sroland@vmware.com>
This commit is contained in:
parent
0b239d9ed9
commit
a6f5cc66db
2 changed files with 0 additions and 23 deletions
|
|
@ -610,21 +610,3 @@ gallivm_jit_function(struct gallivm_state *gallivm,
|
|||
|
||||
return jit_func;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Free the function (and its machine code).
|
||||
*/
|
||||
void
|
||||
gallivm_free_function(struct gallivm_state *gallivm,
|
||||
LLVMValueRef func,
|
||||
const void *code)
|
||||
{
|
||||
#if !USE_MCJIT
|
||||
if (code) {
|
||||
LLVMFreeMachineCodeForFunction(gallivm->engine, func);
|
||||
}
|
||||
|
||||
LLVMDeleteFunction(func);
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
|
|
@ -73,11 +73,6 @@ func_pointer
|
|||
gallivm_jit_function(struct gallivm_state *gallivm,
|
||||
LLVMValueRef func);
|
||||
|
||||
void
|
||||
gallivm_free_function(struct gallivm_state *gallivm,
|
||||
LLVMValueRef func,
|
||||
const void * code);
|
||||
|
||||
void
|
||||
lp_set_load_alignment(LLVMValueRef Inst,
|
||||
unsigned Align);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue