Author: petdance
Date: Sun Feb 24 10:13:10 2008
New Revision: 26044

Modified:
   trunk/compilers/imcc/cfg.c

Log:
removed an unused interpreter argument

Modified: trunk/compilers/imcc/cfg.c
==============================================================================
--- trunk/compilers/imcc/cfg.c  (original)
+++ trunk/compilers/imcc/cfg.c  Sun Feb 24 10:13:10 2008
@@ -115,12 +115,11 @@
 
 PARROT_CANNOT_RETURN_NULL
 PARROT_WARN_UNUSED_RESULT
-static Basic_block* make_basic_block(PARROT_INTERP,
+static Basic_block* make_basic_block(
     ARGMOD(IMC_Unit *unit),
     ARGMOD(Instruction* ins))
         __attribute__nonnull__(1)
         __attribute__nonnull__(2)
-        __attribute__nonnull__(3)
         FUNC_MODIFIES(*unit)
         FUNC_MODIFIES(* ins);
 
@@ -228,7 +227,7 @@
     }
     ins->index = i = 0;
 
-    bb = make_basic_block(interp, unit, ins);
+    bb = make_basic_block(unit, ins);
     if (ins->type & ITBRANCH) {
         SymReg * const addr = get_branch_reg(bb->end);
         if (addr)
@@ -266,7 +265,7 @@
             nu = 0;
         else if ((ins->type & ITLABEL)) {
             bb->end = ins->prev;
-            bb = make_basic_block(interp, unit, ins);
+            bb = make_basic_block(unit, ins);
         }
         /* a branch is the end of a basic block
          * so start a new one with the next instruction */
@@ -281,7 +280,7 @@
             if (STREQ(ins->opname, "set_addr"))
                 continue;
             if (ins->next)
-                bb = make_basic_block(interp, unit, ins->next);
+                bb = make_basic_block(unit, ins->next);
             nu = 1;
         }
     }
@@ -1520,7 +1519,7 @@
 PARROT_CANNOT_RETURN_NULL
 PARROT_WARN_UNUSED_RESULT
 static Basic_block*
-make_basic_block(PARROT_INTERP, ARGMOD(IMC_Unit *unit), ARGMOD(Instruction* 
ins))
+make_basic_block(ARGMOD(IMC_Unit *unit), ARGMOD(Instruction* ins))
 {
     int n;
     Basic_block * const bb = mem_allocate_typed(Basic_block);

Reply via email to