diff options
author | Zack Rusin <[email protected]> | 2010-07-27 12:26:54 -0400 |
---|---|---|
committer | José Fonseca <[email protected]> | 2010-07-30 16:25:29 +0100 |
commit | 042018a943a403a4d9887b400deb3b3c83ee40c0 (patch) | |
tree | 7c6b530703edfe97c80748e1cef929b7a80a6aa7 /src/gallium/auxiliary/draw/draw_llvm.c | |
parent | 6c288d06ac512be6eb7f19a9005389dd46d5a26a (diff) |
llvmpipe: delete function bodies after generating machine code
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_llvm.c')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_llvm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/draw/draw_llvm.c b/src/gallium/auxiliary/draw/draw_llvm.c index 48489e5f6f1..8022b720b34 100644 --- a/src/gallium/auxiliary/draw/draw_llvm.c +++ b/src/gallium/auxiliary/draw/draw_llvm.c @@ -826,6 +826,7 @@ draw_llvm_generate(struct draw_llvm *llvm, struct draw_llvm_variant *variant) if (gallivm_debug & GALLIVM_DEBUG_ASM) { lp_disassemble(code); } + lp_func_delete_body(variant->function); } @@ -1001,6 +1002,7 @@ draw_llvm_generate_elts(struct draw_llvm *llvm, struct draw_llvm_variant *varian if (gallivm_debug & GALLIVM_DEBUG_ASM) { lp_disassemble(code); } + lp_func_delete_body(variant->function_elts); } void |