summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_jit.c
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2010-10-11 19:45:52 +0100
committerJosé Fonseca <jfonseca@vmware.com>2010-10-12 08:36:51 +0100
commit4cb3b4ced80891ce8760cf5a0c06db9dbee36b76 (patch)
treeaaa5fe8d7c87f6a65eb95bcb04f9b0f14ed26b47 /src/gallium/drivers/llvmpipe/lp_jit.c
parentc25fcf5aa5beccd7731706b8f85682170a2eca56 (diff)
llvmpipe: Do not dispose the execution engine.
The engine is a global owned by gallivm module.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_jit.c')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_jit.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_jit.c b/src/gallium/drivers/llvmpipe/lp_jit.c
index 04b12dedcc..e09ec504ab 100644
--- a/src/gallium/drivers/llvmpipe/lp_jit.c
+++ b/src/gallium/drivers/llvmpipe/lp_jit.c
@@ -162,9 +162,6 @@ lp_jit_init_globals(struct llvmpipe_screen *screen)
void
lp_jit_screen_cleanup(struct llvmpipe_screen *screen)
{
- if(screen->engine)
- LLVMDisposeExecutionEngine(screen->engine);
-
if(screen->pass)
LLVMDisposePassManager(screen->pass);
}