Browse Source

gallivm: Rename TargetInstrDesc to MCInstrDesc when using llvm-3.0.

llvm-3.0svn revision 134021 renamed TargetInstrDesc to MCInstrDesc.
tags/mesa-8.0-rc1
Vinson Lee 14 years ago
parent
commit
b61e56756c
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      src/gallium/auxiliary/gallivm/lp_bld_debug.cpp

+ 4
- 0
src/gallium/auxiliary/gallivm/lp_bld_debug.cpp View File

@@ -287,7 +287,11 @@ lp_disassemble(const void* func)

pc += Size;

#if HAVE_LLVM >= 0x0300
const MCInstrDesc &TID = TII->get(Inst.getOpcode());
#else
const TargetInstrDesc &TID = TII->get(Inst.getOpcode());
#endif

/*
* Keep track of forward jumps to a nearby address.

Loading…
Cancel
Save