Permalink
Browse files

add ASSERT_ARGS

git-svn-id: https://svn.parrot.org/parrot/trunk@43982 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  • Loading branch information...
1 parent 4dd8c07 commit 06128b277d4ef12eaa18a8d8d7de1089cbd105bd @mikehh mikehh committed Feb 16, 2010
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/pirregalloc.c
View
@@ -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); */
@@ -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) {

0 comments on commit 06128b2

Please sign in to comment.