1
0
mirror of https://github.com/cc65/cc65.git synced 2025-02-03 22:32:24 +00:00

Apply OptTransfers3 again in a later step, so it gets another chance.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4040 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz 2009-08-19 12:47:30 +00:00
parent f3b639f835
commit 57ef34f041

View File

@ -1536,6 +1536,7 @@ static unsigned RunOptGroup5 (CodeSeg* S)
Changes += RunOptFunc (S, &DOptPush1, 1);
Changes += RunOptFunc (S, &DOptPush2, 1);
/* Repeat some of the other optimizations now */
Changes += RunOptFunc (S, &DOptUnusedLoads, 1);
Changes += RunOptFunc (S, &DOptTransfers2, 1);
@ -1577,6 +1578,7 @@ static unsigned RunOptGroup6 (CodeSeg* S)
Changes += RunOptFunc (S, &DOptUnusedLoads, 1);
Changes += RunOptFunc (S, &DOptJumpTarget1, 5);
Changes += RunOptFunc (S, &DOptStore5, 1);
Changes += RunOptFunc (S, &DOptTransfers3, 1);
}
/* Adjust branch distances */