summaryrefslogtreecommitdiffhomepage
path: root/ir/lpp
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2014-03-29 10:13:39 +0100
committerChristoph Mallon <christoph.mallon@gmx.de>2014-04-10 10:33:55 +0200
commit1966adc74b7dc4a47f556d36628019beeb3f6d0d (patch)
treeb742c3a080dc2fd527d77849651ca2d8a547fb1a /ir/lpp
parent5512229a51005fec43bac48ff09c64251b392754 (diff)
all: Add and use QSORT() and QSORT_ARR().
Diffstat (limited to 'ir/lpp')
-rw-r--r--ir/lpp/sp_matrix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/lpp/sp_matrix.c b/ir/lpp/sp_matrix.c
index bc73df2..48569c0 100644
--- a/ir/lpp/sp_matrix.c
+++ b/ir/lpp/sp_matrix.c
@@ -662,7 +662,7 @@ void matrix_optimize(sp_matrix_t *m)
matrix_foreach(m, e)
c[e->row]++;
- qsort(c, size, sizeof(*c), cmp_count);
+ QSORT(c, size, cmp_count);
for (i = 0; i < size; ++i) {
if (! bitset_is_set(fullrow, i))