]> git.gag.com Git - fw/sdcc/blobdiff - src/SDCCmem.c
cleaned up the mess I left behind
[fw/sdcc] / src / SDCCmem.c
index 1b91e5530c462c151d502605578623f8a4f28d83..54c8d0122bc92c5261b0e041b4f1458aa6082f0e 100644 (file)
@@ -846,9 +846,8 @@ allocVariables (symbol * symChain)
       /* then args  processing  */
       if (funcInChain (csym->type))
        {
-#if 1 // jwk: TODO should have been done already in addDecl() (oclass????)
          processFuncArgs (csym);
-#endif
+
          /* if register bank specified then update maxRegBank */
          if (maxRegBank < FUNC_REGBANK (csym->type))
            maxRegBank = FUNC_REGBANK (csym->type);
@@ -1019,10 +1018,7 @@ printAllocInfoSeg (memmap * map, symbol * func, FILE * of)
       if (!sym->allocreq && sym->reqv)
        {
          int i;
-         if (!OP_SYMBOL(sym->reqv)->nRegs) {
-           printf ("*** warning: %s -> %s\n", sym->name, 
-                   OP_SYMBOL(sym->reqv)->name);
-         }
+
          sym = OP_SYMBOL (sym->reqv);
          fprintf (of, "registers ");
          for (i = 0; i < 4 && sym->regs[i]; i++)