summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
diff options
context:
space:
mode:
authorJan Vesely <jan.vesely@rutgers.edu>2015-03-27 18:45:23 -0400
committerJan Vesely <jan.vesely@rutgers.edu>2015-03-27 18:57:02 -0400
commita99a16a0cffbb79e1f9a2d2844c549e6ff91afdb (patch)
treee18036238f93a5f18b816d411a658535c174b10a /src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
parentafa9fc15613c3ebdc59245c9d4d8c1280b2a2a37 (diff)
downloadexternal_mesa3d-a99a16a0cffbb79e1f9a2d2844c549e6ff91afdb.zip
external_mesa3d-a99a16a0cffbb79e1f9a2d2844c549e6ff91afdb.tar.gz
external_mesa3d-a99a16a0cffbb79e1f9a2d2844c549e6ff91afdb.tar.bz2
gallivm: Fix build since llvm r233411
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu> Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
Diffstat (limited to 'src/gallium/auxiliary/gallivm/lp_bld_debug.cpp')
-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 bf6268b..d4d453d 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.