From d6290e0a0f500165a5f5ed73237077175aaad638 Mon Sep 17 00:00:00 2001 From: uz Date: Mon, 7 Jan 2013 20:17:50 +0000 Subject: [PATCH] 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 --- src/cc65/codeopt.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.39.5