gallivm: Fix MCJIT with LLVM 3.3.
authorJose Fonseca <jfonseca@vmware.com>
Thu, 14 Apr 2016 15:47:14 +0000 (16:47 +0100)
committerJose Fonseca <jfonseca@vmware.com>
Tue, 19 Apr 2016 10:31:17 +0000 (11:31 +0100)
commit969ba8bfa7de544d2782a96ff6b66fe912f5e290
treed04d8a7968d6350e52f4c068ce0b254eb75a01ad
parentcf4105740f0f94308644ec03a2cd74aeeaf7f4df
gallivm: Fix MCJIT with LLVM 3.3.

One needs to call setJITMemoryManager for LLVM 3.3, instead of
setMCJITMemoryManager.

This regressed in commits 065256df/75ad4fe7 when trying to make the
code to build with LLVM 3.6.

Tested MCJIT with LLVM 3.3 to 3.6.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/auxiliary/gallivm/lp_bld_misc.cpp