Remove the labels list from the pr struct.

I'm not sure they were ever needed.
This commit is contained in:
Bill Currie 2011-01-28 11:40:25 +09:00
parent 4738c767a2
commit c158b14286
3 changed files with 0 additions and 6 deletions

View file

@ -53,7 +53,6 @@ struct srcline_s {
*/
typedef struct pr_info_s {
struct type_s *types;
struct ex_label_s *labels;
struct strpool_s *strings;

View file

@ -341,8 +341,6 @@ new_label_expr (void)
l->type = ex_label;
l->e.label.name = new_label_name ();
l->e.label.next = pr.labels;
pr.labels = &l->e.label;
return l;
}

View file

@ -468,9 +468,6 @@ finish_compilation (void)
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;
}