[svn:parrot] r43982 - trunk/compilers/pirc/src

mikehh at svn.parrot.org mikehh at svn.parrot.org
Tue Feb 16 01:30:45 UTC 2010


Author: mikehh
Date: Tue Feb 16 01:30:42 2010
New Revision: 43982
URL: https://trac.parrot.org/parrot/changeset/43982

Log:
add ASSERT_ARGS

Modified:
   trunk/compilers/pirc/src/pirregalloc.c

Modified: trunk/compilers/pirc/src/pirregalloc.c
==============================================================================
--- trunk/compilers/pirc/src/pirregalloc.c	Tue Feb 16 01:25:10 2010	(r43981)
+++ trunk/compilers/pirc/src/pirregalloc.c	Tue Feb 16 01:30:42 2010	(r43982)
@@ -417,6 +417,8 @@
 */
 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 @@
 */
 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) {


More information about the parrot-commits mailing list