From: uz Date: Fri, 28 Aug 2009 21:03:17 +0000 (+0000) Subject: Reorder optimimization steps to get better results. X-Git-Tag: V2.13.0rc1~189 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=73e2a72a2a0f2fae257b21d336616fd6733615be;p=cc65 Reorder optimimization steps to get better results. git-svn-id: svn://svn.cc65.org/cc65/trunk@4067 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/cc65/codeopt.c b/src/cc65/codeopt.c index 8ec1e2275..8a8c945d0 100644 --- a/src/cc65/codeopt.c +++ b/src/cc65/codeopt.c @@ -1558,12 +1558,12 @@ static unsigned RunOptGroup3 (CodeSeg* S) C += RunOptFunc (S, &DOptDeadJumps, 1); C += RunOptFunc (S, &DOptRTS, 1); C += RunOptFunc (S, &DOptDeadCode, 1); + C += RunOptFunc (S, &DOptBoolTrans, 1); C += RunOptFunc (S, &DOptJumpTarget1, 1); C += RunOptFunc (S, &DOptJumpTarget2, 1); C += RunOptFunc (S, &DOptCondBranches1, 1); C += RunOptFunc (S, &DOptCondBranches2, 1); C += RunOptFunc (S, &DOptRTSJumps1, 1); - C += RunOptFunc (S, &DOptBoolTrans, 1); C += RunOptFunc (S, &DOptCmp1, 1); C += RunOptFunc (S, &DOptCmp2, 1); C += RunOptFunc (S, &DOptCmp3, 1);