From ada1705cf1dabf3d991c049b0d8a81b023adee41 Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Wed, 27 Mar 2013 12:27:23 +0100 Subject: [PATCH] rename isl_ast_graft_list_sort to isl_ast_graft_list_sort_guard We will introduce a generic isl_*_list_sort in the next commit. Signed-off-by: Sven Verdoolaege --- isl_ast_codegen.c | 2 +- isl_ast_graft.c | 2 +- isl_ast_graft_private.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/isl_ast_codegen.c b/isl_ast_codegen.c index 9d94bce8..d416142c 100644 --- a/isl_ast_codegen.c +++ b/isl_ast_codegen.c @@ -1900,7 +1900,7 @@ static __isl_give isl_ast_graft_list *generate_parallel_domains( if (n > 0) list = isl_ast_graft_list_free(list); - list = isl_ast_graft_list_sort(list); + list = isl_ast_graft_list_sort_guard(list); isl_tarjan_graph_free(g); diff --git a/isl_ast_graft.c b/isl_ast_graft.c index 2f21e8e5..4a2ee2e5 100644 --- a/isl_ast_graft.c +++ b/isl_ast_graft.c @@ -1083,7 +1083,7 @@ static int cmp_graft(const void *a, const void *b) /* Order the elements in "list" based on their guards. */ -__isl_give isl_ast_graft_list *isl_ast_graft_list_sort( +__isl_give isl_ast_graft_list *isl_ast_graft_list_sort_guard( __isl_take isl_ast_graft_list *list) { if (!list) diff --git a/isl_ast_graft_private.h b/isl_ast_graft_private.h index 7bd54bc6..ab44e599 100644 --- a/isl_ast_graft_private.h +++ b/isl_ast_graft_private.h @@ -53,7 +53,7 @@ __isl_give isl_ast_graft_list *isl_ast_graft_list_fuse( __isl_give isl_ast_graft *isl_ast_graft_alloc_domain( __isl_take isl_map *schedule, __isl_keep isl_ast_build *build); void *isl_ast_graft_free(__isl_take isl_ast_graft *graft); -__isl_give isl_ast_graft_list *isl_ast_graft_list_sort( +__isl_give isl_ast_graft_list *isl_ast_graft_list_sort_guard( __isl_take isl_ast_graft_list *list); __isl_give isl_ast_graft_list *isl_ast_graft_list_merge( -- 2.11.4.GIT