diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/auxiliary/gallivm/lp_bld_debug.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp index 49388aadcc8..bb2c82fe0ed 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp +++ b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp @@ -111,6 +111,7 @@ lp_debug_dump_value(LLVMValueRef value) } +#if HAVE_LLVM >= 0x0207 /* * MemoryObject wrapper around a buffer of memory, to be used by MC * disassembler. @@ -145,6 +146,7 @@ public: return 0; } }; +#endif /* HAVE_LLVM >= 0x0207 */ /* @@ -348,8 +350,8 @@ lp_disassemble(const void* func) } debug_printf("\n"); -#else +#else /* HAVE_LLVM < 0x0207 */ (void)func; -#endif +#endif /* HAVE_LLVM < 0x0207 */ } |