projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
636db35
)
gallivm: Update for RTDyldMemoryManager becoming an unique_ptr.
author
José Fonseca
<jfonseca@vmware.com>
Wed, 3 Dec 2014 07:48:26 +0000
(07:48 +0000)
committer
José Fonseca
<jfonseca@vmware.com>
Wed, 3 Dec 2014 07:49:47 +0000
(07:49 +0000)
Trivial.
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=86958
src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
index fe3c75421668c0e20b57bd21e8ab31a389a8514b..5210acca427a2e8c51af443f296af3c0dc72ab00 100644
(file)
--- a/
src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
+++ b/
src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
@@
-500,7
+500,11
@@
lp_build_create_jit_compiler_for_module(LLVMExecutionEngineRef *OutJIT,
MM = new ShaderMemoryManager(JMM);
*OutCode = MM->getGeneratedCode();
+#if HAVE_LLVM >= 0x0306
+ builder.setMCJITMemoryManager(std::unique_ptr<RTDyldMemoryManager>(MM));
+#else
builder.setMCJITMemoryManager(MM);
+#endif
#endif
} else {
#if HAVE_LLVM < 0x0306