On 07/07/2011 09:45 PM, Tobias Droste wrote:
llvm-3.0svn revision 134525 removed the TargetMachine parameter from
createMCInstPrinter

Signed-off-by: Tobias Droste<[email protected]>
---
  src/gallium/auxiliary/gallivm/lp_bld_debug.cpp |    5 +----
  1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp 
b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
index 01e660e..a477b3e 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
+++ b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
@@ -218,10 +218,7 @@ lp_disassemble(const void* func)
  #else
     int AsmPrinterVariant = AsmInfo->getAssemblerDialect();
  #endif
-#if HAVE_LLVM>= 0x0300
-   OwningPtr<MCInstPrinter>  Printer(
-         T->createMCInstPrinter(*TM, AsmPrinterVariant, *AsmInfo));
-#elif HAVE_LLVM>= 0x0208
+#if HAVE_LLVM>= 0x0208
     OwningPtr<MCInstPrinter>  Printer(
           T->createMCInstPrinter(AsmPrinterVariant, *AsmInfo));
  #else

I don't think this patch is needed now that I applied Gustaw's patch from July 6 (commit fc98444bd58960e6cab28423365923bc7e7af3e1).

-Brian
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to