From 53eb6a948db9285c0a8e7e62f42245d2dad2204e Mon Sep 17 00:00:00 2001 From: acqn Date: Fri, 3 Jan 2020 08:20:21 +0800 Subject: [PATCH] No more duplicated stores by Opt_tosshift which could result in worse optimizations. --- src/cc65/coptstop.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/cc65/coptstop.c b/src/cc65/coptstop.c index 46d600dba..b14b23195 100644 --- a/src/cc65/coptstop.c +++ b/src/cc65/coptstop.c @@ -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. */