From: uz Date: Sun, 8 Jul 2012 21:56:01 +0000 (+0000) Subject: Rearrange order of opt steps for better efficiency. X-Git-Tag: V2.14~297 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=58530c142a733bb1c62cc574bc6bc685eec1d7da;p=cc65 Rearrange order of opt steps for better efficiency. git-svn-id: svn://svn.cc65.org/cc65/trunk@5774 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/cc65/codeopt.c b/src/cc65/codeopt.c index 83cd948cc..d4529995c 100644 --- a/src/cc65/codeopt.c +++ b/src/cc65/codeopt.c @@ -1108,12 +1108,12 @@ static unsigned RunOptGroup3 (CodeSeg* S) C += RunOptFunc (S, &DOptRTSJumps1, 1); C += RunOptFunc (S, &DOptCmp1, 1); C += RunOptFunc (S, &DOptCmp2, 1); + C += RunOptFunc (S, &DOptCmp8, 1); /* Must run before OptCmp3 */ C += RunOptFunc (S, &DOptCmp3, 1); C += RunOptFunc (S, &DOptCmp4, 1); C += RunOptFunc (S, &DOptCmp5, 1); C += RunOptFunc (S, &DOptCmp6, 1); C += RunOptFunc (S, &DOptCmp7, 1); - C += RunOptFunc (S, &DOptCmp8, 1); C += RunOptFunc (S, &DOptCmp9, 1); C += RunOptFunc (S, &DOptTest1, 1); C += RunOptFunc (S, &DOptLoad1, 1);