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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user