mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 07:08:04 +02:00
gallivm: fix build with llvm 3.0svn
https://bugs.freedesktop.org/show_bug.cgi?id=41065
(cherry picked from commit 51002968c9)
This commit is contained in:
parent
95a3724c69
commit
7a18f005ed
1 changed files with 8 additions and 2 deletions
|
|
@ -272,7 +272,11 @@ lp_disassemble(const void* func)
|
|||
|
||||
if (!DisAsm->getInstruction(Inst, Size, memoryObject,
|
||||
pc,
|
||||
nulls())) {
|
||||
#if HAVE_LLVM >= 0x0300
|
||||
nulls(), nulls())) {
|
||||
#else
|
||||
nulls())) {
|
||||
#endif
|
||||
debug_printf("invalid\n");
|
||||
pc += 1;
|
||||
}
|
||||
|
|
@ -295,7 +299,9 @@ lp_disassemble(const void* func)
|
|||
* Print the instruction.
|
||||
*/
|
||||
|
||||
#if HAVE_LLVM >= 0x208
|
||||
#if HAVE_LLVM >= 0x0300
|
||||
Printer->printInst(&Inst, Out, "");
|
||||
#elif HAVE_LLVM >= 0x208
|
||||
Printer->printInst(&Inst, Out);
|
||||
#else
|
||||
Printer->printInst(&Inst);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue