[svn:parrot] r46256 - trunk/compilers/imcc

darbelo at svn.parrot.org darbelo at svn.parrot.org
Mon May 3 22:34:08 UTC 2010


Author: darbelo
Date: Mon May  3 22:34:07 2010
New Revision: 46256
URL: https://trac.parrot.org/parrot/changeset/46256

Log:
Remove '#if 0' from compilers/imcc/cfg.c

Modified:
   trunk/compilers/imcc/cfg.c

Modified: trunk/compilers/imcc/cfg.c
==============================================================================
--- trunk/compilers/imcc/cfg.c	Mon May  3 22:33:50 2010	(r46255)
+++ trunk/compilers/imcc/cfg.c	Mon May  3 22:34:07 2010	(r46256)
@@ -949,18 +949,6 @@
                  *
                  * TT #1244: emit warning in propagate_need()
                  */
-#if 0
-                if (pred->index == 0) {
-                    Instruction *ins = r->life_info[i]->first_ins;
-                    int bbi = ins->bbindex;
-                    for (; ins && ins->bbindex == bbi; ins = ins->next)
-                        if (instruction_reads(ins, r))
-                            break;
-                    IMCC_warning("propagate_need",
-                            "'%s' might be used uninitialized in %s:%d\n",
-                            r->name, function, ins->line);
-                }
-#endif
                 propagate_need(pred, r, i);
             }
         }


More information about the parrot-commits mailing list