Adapted to new line infos and spans as written to the object file by the

assembler.


git-svn-id: svn://svn.cc65.org/cc65/trunk@5163 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz
2011-08-14 19:24:03 +00:00
parent b8549f0af8
commit 17e2276f38
13 changed files with 105 additions and 204 deletions

View File

@@ -97,20 +97,3 @@ Fragment* NewFragment (unsigned char Type, unsigned Size, Section* S)
void FragResolveLineInfos (Fragment* F)
/* Resolve the back pointers for the line infos */
{
unsigned I;
/* Walk over all line infos for this fragment */
for (I = 0; I < CollCount (&F->LineInfos); ++I) {
/* Get a pointer to this line info */
LineInfo* LI = CollAtUnchecked (&F->LineInfos, I);
/* Add the back pointer to the line info */
CollAppend (&LI->Fragments, F);
}
}