summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe
diff options
context:
space:
mode:
authorZack Rusin <[email protected]>2010-07-27 12:26:54 -0400
committerJosé Fonseca <[email protected]>2010-07-30 16:25:29 +0100
commit042018a943a403a4d9887b400deb3b3c83ee40c0 (patch)
tree7c6b530703edfe97c80748e1cef929b7a80a6aa7 /src/gallium/drivers/llvmpipe
parent6c288d06ac512be6eb7f19a9005389dd46d5a26a (diff)
llvmpipe: delete function bodies after generating machine code
Diffstat (limited to 'src/gallium/drivers/llvmpipe')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_state_fs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_state_fs.c b/src/gallium/drivers/llvmpipe/lp_state_fs.c
index dbcc286417a..5ee5bde184d 100644
--- a/src/gallium/drivers/llvmpipe/lp_state_fs.c
+++ b/src/gallium/drivers/llvmpipe/lp_state_fs.c
@@ -715,6 +715,7 @@ generate_fragment(struct llvmpipe_context *lp,
if (gallivm_debug & GALLIVM_DEBUG_ASM) {
lp_disassemble(f);
}
+ lp_func_delete_body(function);
}
}