1
0
mirror of https://github.com/cc65/cc65.git synced 2025-01-19 02:33:19 +00:00

Adjusted to the current multiline-comment style.

This commit is contained in:
IrgendwerA8 2019-04-01 23:08:51 +02:00 committed by Oliver Schmidt
parent 1530020a1f
commit dcbe03f23b

View File

@ -1833,7 +1833,7 @@ static int PreCondOk (StackOpData* D)
} }
/* Determine the zero page locations to use. We've tracked the used /* Determine the zero page locations to use. We've tracked the used
* ZP locations, so try to find some for us that are unused. ** ZP locations, so try to find some for us that are unused.
*/ */
if ((D->ZPUsage & REG_PTR1) == REG_NONE) { if ((D->ZPUsage & REG_PTR1) == REG_NONE) {
D->ZPLo = "ptr1"; D->ZPLo = "ptr1";
@ -2018,12 +2018,12 @@ unsigned OptStackOps (CodeSeg* S)
FinalizeLoadInfo (&Data.Rhs, S); FinalizeLoadInfo (&Data.Rhs, S);
/* Check if the lhs loads from zeropage. If this is true, these /* Check if the lhs loads from zeropage. If this is true, these
* zero page locations have to be added to ZPUsage, because ** zero page locations have to be added to ZPUsage, because
* they cannot be used for intermediate storage. In addition, ** they cannot be used for intermediate storage. In addition,
* if one of these zero page locations is destroyed between ** if one of these zero page locations is destroyed between
* pushing the lhs and the actual operation, we cannot use the ** pushing the lhs and the actual operation, we cannot use the
* original zero page locations for the final op, but must ** original zero page locations for the final op, but must
* use another ZP location to save them. ** use another ZP location to save them.
*/ */
ChangedRegs &= REG_ZP; ChangedRegs &= REG_ZP;
if (Data.Lhs.A.LoadEntry && Data.Lhs.A.LoadEntry->AM == AM65_ZP) { if (Data.Lhs.A.LoadEntry && Data.Lhs.A.LoadEntry->AM == AM65_ZP) {