sel-sched-ir.c (cmp_v_in_regset_pool): Surround with #ifdef ENABLE_CHECKING.

* sel-sched-ir.c (cmp_v_in_regset_pool): Surround with
        #ifdef ENABLE_CHECKING.

From-SVN: r139863
This commit is contained in:
Andrey Belevantsev 2008-09-01 16:40:32 +04:00 committed by Andrey Belevantsev
parent dfb0e60d22
commit 68ad446f14
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2008-09-01 Andrey Belevantsev <abel@ispras.ru>
* sel-sched-ir.c (cmp_v_in_regset_pool): Surround with
#ifdef ENABLE_CHECKING.
2008-09-01 Andrey Belevantsev <abel@ispras.ru>
* sel-sched-dump.c: Surround with #ifdef INSN_SCHEDULING.

View File

@ -939,6 +939,7 @@ return_regset_to_pool (regset rs)
regset_pool.v[regset_pool.n++] = rs;
}
#ifdef ENABLE_CHECKING
/* This is used as a qsort callback for sorting regset pool stacks.
X and XX are addresses of two regsets. They are never equal. */
static int
@ -946,6 +947,7 @@ cmp_v_in_regset_pool (const void *x, const void *xx)
{
return *((const regset *) x) - *((const regset *) xx);
}
#endif
/* Free the regset pool possibly checking for memory leaks. */
void