Skip to content

Commit

Permalink
add ASSERT_ARGS
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.parrot.org/parrot/trunk@43982 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  • Loading branch information
mikehh committed Feb 16, 2010
1 parent 4dd8c07 commit 06128b2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/pirregalloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,8 @@ Add register C<regno> to the list of free regs that can be reuse.
*/
static void
add_free_reg(lsr_allocator * const lsr, unsigned regno, pir_type type) {
ASSERT_ARGS(add_free_reg)

free_reg *reg;

/* fprintf(stderr, "add_free_reg(): %u\n", regno); */
Expand Down Expand Up @@ -480,6 +482,8 @@ active, as it has expired. (the variable is no longer needed).
*/
static void
expire_old_intervals(lsr_allocator * const lsr, live_interval * const i, pir_type type) {
ASSERT_ARGS(expire_old_intervals)

live_interval *j;

for (j = lsr->active[type]; j != NULL; j = j->nexta) {
Expand Down

0 comments on commit 06128b2

Please sign in to comment.