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 { 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;

View File

@ -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;
} }

View File

@ -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;
} }