]> git.sur5r.net Git - cc65/commitdiff
OptSize2 needs an extra removal of duplicate transfers.
authoruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sat, 23 Jun 2012 19:34:48 +0000 (19:34 +0000)
committeruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sat, 23 Jun 2012 19:34:48 +0000 (19:34 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@5734 b7a2c559-68d2-44c3-8de9-860c34a00d81

src/cc65/codeopt.c

index 1d944e20397c9ab16e67cfee5fb68065c7a74f67..509a6aa41d396a17babfd568cb28b1ec5d649c54 100644 (file)
@@ -1760,6 +1760,7 @@ static unsigned RunOptGroup7 (CodeSeg* S)
         Changes += RunOptFunc (S, &DOptUnusedLoads, 1);
         Changes += RunOptFunc (S, &DOptJumpTarget1, 5);
         Changes += RunOptFunc (S, &DOptStore5, 1);
+        Changes += RunOptFunc (S, &DOptTransfers1, 1); 
         Changes += RunOptFunc (S, &DOptTransfers3, 1);
     }