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

bacek at svn.parrot.org bacek at svn.parrot.org
Tue Feb 16 09:43:30 UTC 2010


Author: bacek
Date: Tue Feb 16 09:43:29 2010
New Revision: 44000
URL: https://trac.parrot.org/parrot/changeset/44000

Log:
Add ASSERT_ARGS

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

Modified: trunk/compilers/pirc/src/pirsymbol.c
==============================================================================
--- trunk/compilers/pirc/src/pirsymbol.c	Tue Feb 16 09:43:11 2010	(r43999)
+++ trunk/compilers/pirc/src/pirsymbol.c	Tue Feb 16 09:43:29 2010	(r44000)
@@ -447,6 +447,7 @@
 static pir_reg *
 new_pir_reg(ARGIN(lexer_state * const lexer), pir_type type, int regno)
 {
+    ASSERT_ARGS(new_pir_reg)
     pir_reg *r = pir_mem_allocate_zeroed_typed(lexer, pir_reg);
 
     r->info.type     = type;
@@ -639,6 +640,7 @@
 new_global_label(ARGIN(lexer_state * const lexer),
         ARGIN(char const * const name))
 {
+    ASSERT_ARGS(new_global_label)
     global_label *glob = pir_mem_allocate_zeroed_typed(lexer, global_label);
     glob->name         = name;
     glob->const_table_index = 0;


More information about the parrot-commits mailing list