mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-23 22:00:10 +00:00
[Polly] Fix -Wunused-function in -DLLVM_ENABLE_ASSERTIONS=off builds
This commit is contained in:
parent
af9f461298
commit
927050af53
@ -1723,6 +1723,7 @@ private:
|
||||
|
||||
char IslScheduleOptimizerWrapperPass::ID = 0;
|
||||
|
||||
#ifndef NDEBUG
|
||||
static void printSchedule(llvm::raw_ostream &OS, const isl::schedule &Schedule,
|
||||
StringRef Desc) {
|
||||
isl::ctx Ctx = Schedule.get_ctx();
|
||||
@ -1734,6 +1735,7 @@ static void printSchedule(llvm::raw_ostream &OS, const isl::schedule &Schedule,
|
||||
free(Str);
|
||||
isl_printer_free(P);
|
||||
}
|
||||
#endif
|
||||
|
||||
/// Collect statistics for the schedule tree.
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user