From: uz Date: Mon, 7 Jan 2013 20:17:50 +0000 (+0000) Subject: Do an additional run of duplicate loads at the end of OptGroup4. X-Git-Tag: V2.14~115 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d6290e0a0f500165a5f5ed73237077175aaad638;p=cc65 Do an additional run of duplicate loads at the end of OptGroup4. git-svn-id: svn://svn.cc65.org/cc65/trunk@5959 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/cc65/codeopt.c b/src/cc65/codeopt.c index b5f399c47..758d4893d 100644 --- a/src/cc65/codeopt.c +++ b/src/cc65/codeopt.c @@ -1264,6 +1264,7 @@ static unsigned RunOptGroup4 (CodeSeg* S) Changes += RunOptFunc (S, &DOptTransfers2, 1); Changes += RunOptFunc (S, &DOptLoad2, 1); Changes += RunOptFunc (S, &DOptLoad3, 1); + Changes += RunOptFunc (S, &DOptDupLoads, 1); /* Return the number of changes */ return Changes;