Mesa (llvm-context): gallivm: add some informative/disabled code
Brian Paul
brianp at kemper.freedesktop.org
Wed Nov 3 00:40:50 UTC 2010
Module: Mesa
Branch: llvm-context
Commit: 7de68c731dce62f8f1904fe6535c4a2b6661f27e
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7de68c731dce62f8f1904fe6535c4a2b6661f27e
Author: Brian Paul <brianp at vmware.com>
Date: Tue Nov 2 18:38:50 2010 -0600
gallivm: add some informative/disabled code
---
src/gallium/auxiliary/gallivm/lp_bld_init.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_init.c b/src/gallium/auxiliary/gallivm/lp_bld_init.c
index ee84eac..d940cb5 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_init.c
+++ b/src/gallium/auxiliary/gallivm/lp_bld_init.c
@@ -186,6 +186,11 @@ free_gallivm_state(struct gallivm_state *gallivm)
LLVMDisposeExecutionEngine(gallivm->engine);
#endif
+#if 0
+ /* Don't free the TargetData, it's owned by the exec engine */
+ LLVMDisposeTargetData(gallivm->target);
+#endif
+
if (gallivm->context)
LLVMContextDispose(gallivm->context);
More information about the mesa-commit
mailing list