summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/gallivm/lp_bld_assert.h
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2012-02-23 09:48:08 +0000
committerJosé Fonseca <jfonseca@vmware.com>2012-05-02 10:24:34 +0100
commit9ad2cb18857c1cd75ab073e8662700d1761c20ac (patch)
treedee219085429ed7b0281e27a998e9bca42afebfc /src/gallium/auxiliary/gallivm/lp_bld_assert.h
parent6cd76b800bed70435f499c6c498a487a5056a731 (diff)
gallivm: Avoid LLVMAddGlobalMapping() in lp_bld_assert().
Brittle, complex, and unecesary. Just use function pointer constant.
Diffstat (limited to 'src/gallium/auxiliary/gallivm/lp_bld_assert.h')
-rw-r--r--src/gallium/auxiliary/gallivm/lp_bld_assert.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_assert.h b/src/gallium/auxiliary/gallivm/lp_bld_assert.h
index 1d2baab30a2..e377b59bbed 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_assert.h
+++ b/src/gallium/auxiliary/gallivm/lp_bld_assert.h
@@ -33,7 +33,7 @@
#include "lp_bld_init.h"
-LLVMValueRef
+void
lp_build_assert(struct gallivm_state *gallivm,
LLVMValueRef condition,
const char *msg);