diff --git a/src/cc65/codeent.c b/src/cc65/codeent.c index 51f5f1378..7dd90833b 100644 --- a/src/cc65/codeent.c +++ b/src/cc65/codeent.c @@ -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); }