mirror of
https://github.com/cc65/cc65.git
synced 2025-08-13 08:25:28 +00:00
No more duplicated stores by Opt_tosshift which could result in worse optimizations.
This commit is contained in:
@@ -1017,9 +1017,6 @@ static unsigned Opt_tosshift (StackOpData* D, const char* Name)
|
|||||||
{
|
{
|
||||||
CodeEntry* X;
|
CodeEntry* X;
|
||||||
|
|
||||||
/* Store the value into the zeropage instead of pushing it */
|
|
||||||
ReplacePushByStore (D);
|
|
||||||
|
|
||||||
/* If the lhs is direct (but not stack relative), we can just reload the
|
/* If the lhs is direct (but not stack relative), we can just reload the
|
||||||
** data later.
|
** data later.
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user