diff options
author | Frank Henigman <[email protected]> | 2013-10-01 15:15:42 -0400 |
---|---|---|
committer | José Fonseca <[email protected]> | 2014-05-14 11:05:00 +0100 |
commit | 865d0312c0dd7411ce813206cef3c399d6641241 (patch) | |
tree | 47ed3c8a2a4c2662f8d38d6bbc5baa80bed4407b /src/gallium/auxiliary/draw/draw_llvm.c | |
parent | 2c73102dc33bb2ac2475cecd0614a5889db36630 (diff) |
gallivm: Separate freeing LLVM intermediate data from freeing final code.
Split free_gallivm_state() into two steps. First step is
gallivm_free_ir() which cleans up the LLVM scaffolding used to generate
code while preserving the code itself. Second step is
gallivm_free_code() to free the memory occupied by the code.
v2: s/gallivm_teardown/gallivm_free_ir/ (Jose)
Signed-off-by: José Fonseca <[email protected]>
Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_llvm.c')
0 files changed, 0 insertions, 0 deletions