Mesa (master): gallivm: Initialize x86 disassembler on x86_64 too.
Jose Fonseca
jrfonseca at kemper.freedesktop.org
Fri Feb 17 17:22:41 UTC 2012
Module: Mesa
Branch: master
Commit: 9be0f9b0e470bb7bc8672d161615c16fe5b026fd
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9be0f9b0e470bb7bc8672d161615c16fe5b026fd
Author: José Fonseca <jfonseca at vmware.com>
Date: Fri Feb 17 17:22:23 2012 +0000
gallivm: Initialize x86 disassembler on x86_64 too.
---
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 7f4d227..43aaf64 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
+++ b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
@@ -207,7 +207,7 @@ lp_disassemble(const void* func)
#if HAVE_LLVM >= 0x0208
InitializeNativeTargetAsmPrinter();
-#elif defined(PIPE_ARCH_X86)
+#elif defined(PIPE_ARCH_X86) || defined(PIPE_ARCH_X86_64)
LLVMInitializeX86AsmPrinter();
#elif defined(PIPE_ARCH_ARM)
LLVMInitializeARMAsmPrinter();
@@ -215,7 +215,7 @@ lp_disassemble(const void* func)
LLVMInitializePowerPCAsmPrinter();
#endif
-#if defined(PIPE_ARCH_X86)
+#if defined(PIPE_ARCH_X86) || defined(PIPE_ARCH_X86_64)
LLVMInitializeX86Disassembler();
#elif defined(PIPE_ARCH_ARM)
LLVMInitializeARMDisassembler();
More information about the mesa-commit
mailing list