mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 15:48:36 +02:00
gallivm: Update for RTDyldMemoryManager becoming an unique_ptr.
Trivial. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=86958
This commit is contained in:
parent
636db35c35
commit
ef7e0b39a2
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue