gallivm: Fix build since llvm r233411
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu> Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
This commit is contained in:
@@ -322,7 +322,11 @@ disassemble(const void* func, llvm::raw_ostream & Out)
|
||||
/*
|
||||
* Print the instruction.
|
||||
*/
|
||||
#if HAVE_LLVM >= 0x0307
|
||||
Printer->printInst(&Inst, Out, "", *STI);
|
||||
#else
|
||||
Printer->printInst(&Inst, Out, "");
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Advance.
|
||||
|
||||
Reference in New Issue
Block a user