mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 17:30:12 +01:00
gallivm: Rename createAsmInfo to createMCAsmInfo with llvm-3.0.
llvm-3.0svn r135219 renamed createAsmInfo to createMCAsmInfo in include/llvm/Target/TargetRegistry.h.
This commit is contained in:
parent
7854b8cb16
commit
9228bfb375
1 changed files with 4 additions and 0 deletions
|
|
@ -193,7 +193,11 @@ lp_disassemble(const void* func)
|
|||
|
||||
InitializeAllDisassemblers();
|
||||
|
||||
#if HAVE_LLVM >= 0x0300
|
||||
OwningPtr<const MCAsmInfo> AsmInfo(T->createMCAsmInfo(Triple));
|
||||
#else
|
||||
OwningPtr<const MCAsmInfo> AsmInfo(T->createAsmInfo(Triple));
|
||||
#endif
|
||||
|
||||
if (!AsmInfo) {
|
||||
debug_printf("error: no assembly info for target %s\n", Triple.c_str());
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue