1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-28 06:30:16 +00:00

Fixed register usage tracking interfered by CE_SetArg.

This commit is contained in:
acqn 2020-02-11 18:28:38 +08:00 committed by Oliver Schmidt
parent 2220c58f51
commit 8a166ac82f

View File

@ -360,6 +360,10 @@ void CE_SetArg (CodeEntry* E, const char* Arg)
/* Assign the new one */
E->Arg = GetArgCopy (Arg);
/* Update the Use and Chg in E */
const OPCDesc* D = GetOPCDesc (E->OPC);
SetUseChgInfo (E, D);
}