1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-19 21:32:19 +00:00

No more duplicated stores by Opt_tosshift which could result in worse optimizations.

This commit is contained in:
acqn 2020-01-03 08:20:21 +08:00 committed by Oliver Schmidt
parent 49c5cfd65b
commit 53eb6a948d

View File

@ -1017,9 +1017,6 @@ static unsigned Opt_tosshift (StackOpData* D, const char* Name)
{
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
** data later.
*/