diff options
author | Vinson Lee <vlee@vmware.com> | 2011-03-28 17:48:37 -0700 |
---|---|---|
committer | Vinson Lee <vlee@vmware.com> | 2011-03-28 17:48:37 -0700 |
commit | 92e29dc5b0474c073b0f05d60629fc6c3decfca4 (patch) | |
tree | 7dc5c0533073c430a27f74c22f0a450dbc47efa5 /src/gallium/auxiliary/gallivm/lp_bld_debug.cpp | |
parent | 2737350157cf048b436d7b64d420881ff6df9223 (diff) | |
download | external_mesa3d-92e29dc5b0474c073b0f05d60629fc6c3decfca4.zip external_mesa3d-92e29dc5b0474c073b0f05d60629fc6c3decfca4.tar.gz external_mesa3d-92e29dc5b0474c073b0f05d60629fc6c3decfca4.tar.bz2 |
gallivm: Fix build with llvm-2.9.
The build fix of commit 40ae214067673edbda79371969d1730b6194d83e does
not apply to llvm-2.9 but rather to llvm-3.0svn.
Diffstat (limited to 'src/gallium/auxiliary/gallivm/lp_bld_debug.cpp')
-rw-r--r-- | src/gallium/auxiliary/gallivm/lp_bld_debug.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp index 76d63ce..0b724a3 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp +++ b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp @@ -209,12 +209,12 @@ lp_disassemble(const void* func) raw_debug_ostream Out; TargetMachine *TM = T->createTargetMachine(Triple, ""); -#if HAVE_LLVM >= 0x0209 +#if HAVE_LLVM >= 0x0300 unsigned int AsmPrinterVariant = AsmInfo->getAssemblerDialect(); #else int AsmPrinterVariant = AsmInfo->getAssemblerDialect(); #endif -#if HAVE_LLVM >= 0x0209 +#if HAVE_LLVM >= 0x0300 OwningPtr<MCInstPrinter> Printer( T->createMCInstPrinter(*TM, AsmPrinterVariant, *AsmInfo)); #elif HAVE_LLVM >= 0x0208 |