summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2012-02-17 17:22:23 +0000
committerJosé Fonseca <jfonseca@vmware.com>2012-02-17 17:22:23 +0000
commit9be0f9b0e470bb7bc8672d161615c16fe5b026fd (patch)
tree3d2f071072d94885b7a0e94d5d93148decef0470 /src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
parente648f5e197a62afeb9d86c36cc8337058e325d38 (diff)
downloadexternal_mesa3d-9be0f9b0e470bb7bc8672d161615c16fe5b026fd.zip
external_mesa3d-9be0f9b0e470bb7bc8672d161615c16fe5b026fd.tar.gz
external_mesa3d-9be0f9b0e470bb7bc8672d161615c16fe5b026fd.tar.bz2
gallivm: Initialize x86 disassembler on x86_64 too.
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, 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();