gallivm: Avoid LLVMAddGlobalMapping() in lp_bld_assert().
authorJosé Fonseca <jfonseca@vmware.com>
Thu, 23 Feb 2012 09:48:08 +0000 (09:48 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Wed, 2 May 2012 09:24:34 +0000 (10:24 +0100)
commit9ad2cb18857c1cd75ab073e8662700d1761c20ac
treedee219085429ed7b0281e27a998e9bca42afebfc
parent6cd76b800bed70435f499c6c498a487a5056a731
gallivm: Avoid LLVMAddGlobalMapping() in lp_bld_assert().

Brittle, complex, and unecesary. Just use function pointer constant.
src/gallium/auxiliary/gallivm/lp_bld_assert.c
src/gallium/auxiliary/gallivm/lp_bld_assert.h