can't call pointer_type untill after the types are chained

This commit is contained in:
Bill Currie 2002-07-09 19:00:52 +00:00
parent 2cb6138f2b
commit 1db26eea86

View file

@ -634,8 +634,6 @@ init_types (void)
new_struct_field (type, &type_integer, "size", vis_public);
new_struct_field (type, &type_string, "name", vis_public);
new_struct_field (type, &type_pointer, "symtab", vis_public);
type_obj_exec_class.parm_types[0] = pointer_type (type_module);
}
void
@ -666,6 +664,8 @@ chain_initial_types (void)
chain_type (type_ivar);
chain_type (type_module);
chain_type (&type_obj_exec_class);
type_obj_exec_class.parm_types[0] = pointer_type (type_module);
}
void