projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2737350
)
gallivm: Fix build with llvm-2.9.
author
Vinson Lee
<vlee@vmware.com>
Tue, 29 Mar 2011 00:48:37 +0000
(17:48 -0700)
committer
Vinson Lee
<vlee@vmware.com>
Tue, 29 Mar 2011 00:48:37 +0000
(17:48 -0700)
The build fix of commit
40ae214067673edbda79371969d1730b6194d83e
does
not apply to llvm-2.9 but rather to llvm-3.0svn.
src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
index 76d63ced2de6dfeb063bfd0104121898c6e2c5b4..0b724a34948768be5ccb406b8c0375a5c098d3ea 100644
(file)
--- 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 >= 0x0
209
+#if HAVE_LLVM >= 0x0
300
unsigned int AsmPrinterVariant = AsmInfo->getAssemblerDialect();
#else
int AsmPrinterVariant = AsmInfo->getAssemblerDialect();
#endif
-#if HAVE_LLVM >= 0x0
209
+#if HAVE_LLVM >= 0x0
300
OwningPtr<MCInstPrinter> Printer(
T->createMCInstPrinter(*TM, AsmPrinterVariant, *AsmInfo));
#elif HAVE_LLVM >= 0x0208