Remove the labels list from the pr struct.
I'm not sure they were ever needed.
This commit is contained in:
parent
4738c767a2
commit
c158b14286
|
@ -53,7 +53,6 @@ struct srcline_s {
|
||||||
*/
|
*/
|
||||||
typedef struct pr_info_s {
|
typedef struct pr_info_s {
|
||||||
struct type_s *types;
|
struct type_s *types;
|
||||||
struct ex_label_s *labels;
|
|
||||||
|
|
||||||
struct strpool_s *strings;
|
struct strpool_s *strings;
|
||||||
|
|
||||||
|
|
|
@ -341,8 +341,6 @@ new_label_expr (void)
|
||||||
|
|
||||||
l->type = ex_label;
|
l->type = ex_label;
|
||||||
l->e.label.name = new_label_name ();
|
l->e.label.name = new_label_name ();
|
||||||
l->e.label.next = pr.labels;
|
|
||||||
pr.labels = &l->e.label;
|
|
||||||
return l;
|
return l;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -468,9 +468,6 @@ finish_compilation (void)
|
||||||
pr.near_data->data[ofs].integer_var = 0;
|
pr.near_data->data[ofs].integer_var = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
//FIXME for (l = pr.labels; l; l = l->next)
|
|
||||||
//FIXME relocate_refs (l->refs, l->ofs);
|
|
||||||
|
|
||||||
return !errors;
|
return !errors;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue