From: Jan Vesely Date: Fri, 27 Mar 2015 22:45:23 +0000 (-0400) Subject: gallivm: Fix build since llvm r233411 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a99a16a0cffbb79e1f9a2d2844c549e6ff91afdb;p=mesa.git gallivm: Fix build since llvm r233411 Signed-off-by: Jan Vesely Reviewed-by: Tom Stellard --- diff --git a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp index bf6268b3360..d4d453d2615 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp +++ b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp @@ -322,7 +322,11 @@ disassemble(const void* func, llvm::raw_ostream & Out) /* * Print the instruction. */ +#if HAVE_LLVM >= 0x0307 + Printer->printInst(&Inst, Out, "", *STI); +#else Printer->printInst(&Inst, Out, ""); +#endif /* * Advance.