projects
/
platform
/
upstream
/
isl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
964296f
)
isl_tab_allocate_con: add extra assertion
author
Sven Verdoolaege
<skimo@kotnet.org>
Mon, 28 Sep 2009 13:00:39 +0000
(15:00 +0200)
committer
Sven Verdoolaege
<skimo@kotnet.org>
Wed, 7 Oct 2009 20:03:07 +0000
(22:03 +0200)
isl_tab.c
patch
|
blob
|
history
diff --git
a/isl_tab.c
b/isl_tab.c
index
bd8476d
..
bf1166a
100644
(file)
--- a/
isl_tab.c
+++ b/
isl_tab.c
@@
-1098,6
+1098,7
@@
int isl_tab_allocate_con(struct isl_tab *tab)
int r;
isl_assert(tab->mat->ctx, tab->n_row < tab->mat->n_row, return -1);
+ isl_assert(tab->mat->ctx, tab->n_con < tab->max_con, return -1);
r = tab->n_con;
tab->con[r].index = tab->n_row;