*/
{
/* Walk through all instructions referencing the old label */
- unsigned Count = CollCount (&OldLabel->JumpFrom);
+ unsigned Count = CL_GetRefCount (OldLabel);
while (Count--) {
/* Get the instruction that references the old label */
- CodeEntry* E = CollAt (&OldLabel->JumpFrom, Count);
+ CodeEntry* E = CL_GetRef (OldLabel, Count);
/* Change the reference to the new label */
CHECK (E->JumpTo == OldLabel);
/* Output the code label to a file */
{
fprintf (F, "%s:", L->Name);
+ if (strlen (L->Name) > 6) {
+ /* Label is too long, add a linefeed */
+ fputc ('\n', F);
+ }
}
+