[svn:parrot] r40222 - trunk/compilers/imcc
petdance at svn.parrot.org
petdance at svn.parrot.org
Wed Jul 22 23:46:14 UTC 2009
Author: petdance
Date: Wed Jul 22 23:46:14 2009
New Revision: 40222
URL: https://trac.parrot.org/parrot/changeset/40222
Log:
removing unexecutable code. Thanks, Coverity!
Modified:
trunk/compilers/imcc/optimizer.c
Modified: trunk/compilers/imcc/optimizer.c
==============================================================================
--- trunk/compilers/imcc/optimizer.c Wed Jul 22 23:41:10 2009 (r40221)
+++ trunk/compilers/imcc/optimizer.c Wed Jul 22 23:46:14 2009 (r40222)
@@ -1501,14 +1501,12 @@
}
}
- /* Unreachable instructions */
+ /* Unreachable instructions */
for (last = unit->instructions, ins = last->next;
last && ins;
ins = ins->next) {
- if (!last && !ins)
- break;
if ((last->type & IF_goto) && !(ins->type & ITLABEL) &&
STREQ(last->opname, "branch")) {
More information about the parrot-commits
mailing list