summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gallium/auxiliary/gallivm/lp_bld_debug.cpp4
1 files changed, 4 insertions, 0 deletions
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.