Skip to content
This repository
Browse code

Add ASSERT_ARGS

git-svn-id: https://svn.parrot.org/parrot/trunk@44000 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  • Loading branch information...
commit 620d50ea4c96a0e44bc2b32c5a531a082dd44947 1 parent 3a637b8
Vasily Chekalkin authored February 16, 2010

Showing 1 changed file with 2 additions and 0 deletions. Show diff stats Hide diff stats

  1. 2  src/pirsymbol.c
2  src/pirsymbol.c
@@ -447,6 +447,7 @@ PARROT_CANNOT_RETURN_NULL
447 447
 static pir_reg *
448 448
 new_pir_reg(ARGIN(lexer_state * const lexer), pir_type type, int regno)
449 449
 {
  450
+    ASSERT_ARGS(new_pir_reg)
450 451
     pir_reg *r = pir_mem_allocate_zeroed_typed(lexer, pir_reg);
451 452
 
452 453
     r->info.type     = type;
@@ -639,6 +640,7 @@ static global_label *
639 640
 new_global_label(ARGIN(lexer_state * const lexer),
640 641
         ARGIN(char const * const name))
641 642
 {
  643
+    ASSERT_ARGS(new_global_label)
642 644
     global_label *glob = pir_mem_allocate_zeroed_typed(lexer, global_label);
643 645
     glob->name         = name;
644 646
     glob->const_table_index = 0;

0 notes on commit 620d50e

Please sign in to comment.
Something went wrong with that request. Please try again.