Permalink
Browse files

Add ASSERT_ARGS

git-svn-id: https://svn.parrot.org/parrot/trunk@44000 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  • Loading branch information...
1 parent 3a637b8 commit 620d50ea4c96a0e44bc2b32c5a531a082dd44947 @bacek bacek committed Feb 16, 2010
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/pirsymbol.c
View
2 src/pirsymbol.c
@@ -447,6 +447,7 @@ PARROT_CANNOT_RETURN_NULL
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 @@ static global_label *
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;

0 comments on commit 620d50e

Please sign in to comment.