diff options
author | Sven Verdoolaege <skimo@kotnet.org> | 2011-07-08 15:41:38 +0200 |
---|---|---|
committer | Sven Verdoolaege <skimo@kotnet.org> | 2011-07-08 15:41:38 +0200 |
commit | d3c83bac004f2f199c07bd46f268a498e1ec9879 (patch) | |
tree | 7bd97bbfeed669da22e5318511f048c625bc5133 /isl_reordering.h | |
parent | aaa7dc790a7c69315059eea54f2516d8a98df5d9 (diff) | |
download | isl-d3c83bac004f2f199c07bd46f268a498e1ec9879.tar.gz isl-d3c83bac004f2f199c07bd46f268a498e1ec9879.tar.bz2 isl-d3c83bac004f2f199c07bd46f268a498e1ec9879.zip |
isl_reordering_extend_dim: don't mess with copies of input
In particular, perform an isl_reordering_cow before changing anythin.
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
Diffstat (limited to 'isl_reordering.h')
-rw-r--r-- | isl_reordering.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/isl_reordering.h b/isl_reordering.h index cfec95af..7560d3a7 100644 --- a/isl_reordering.h +++ b/isl_reordering.h @@ -22,7 +22,7 @@ typedef struct isl_reordering isl_reordering; __isl_give isl_reordering *isl_parameter_alignment_reordering( __isl_keep isl_dim *alignee, __isl_keep isl_dim *aligner); __isl_give isl_reordering *isl_reordering_copy(__isl_keep isl_reordering *exp); -void isl_reordering_free(__isl_take isl_reordering *exp); +void *isl_reordering_free(__isl_take isl_reordering *exp); __isl_give isl_reordering *isl_reordering_extend_dim( __isl_take isl_reordering *exp, __isl_take isl_dim *dim); __isl_give isl_reordering *isl_reordering_extend(__isl_take isl_reordering *exp, |