const char *ld_name = get_entity_ld_name(ent);
int align, /*is_constant,*/ h;
int i, /*j,*/ size = 0;
const char *ld_name = get_entity_ld_name(ent);
int align, /*is_constant,*/ h;
int i, /*j,*/ size = 0;
/* potential spare values should be already included! */
for (i = 0; i < get_compound_ent_n_values(ent); ++i) {
entity *step = get_compound_ent_value_member(ent, i);
/* potential spare values should be already included! */
for (i = 0; i < get_compound_ent_n_values(ent); ++i) {
entity *step = get_compound_ent_value_member(ent, i);
/*entity *member = get_compound_ent_value_member(ent, i); */
compound_graph_path *path = get_compound_ent_value_path(ent, i);
entity *node = get_compound_graph_path_node(path, 0);
/*entity *member = get_compound_ent_value_member(ent, i); */
compound_graph_path *path = get_compound_ent_value_path(ent, i);
entity *node = get_compound_graph_path_node(path, 0);
/* We wanna know how many arrays are on the path to the entity. We also have to know how
* many elements each array holds to calculate the offset for the entity. */
for (j = 0; j < graph_length; j++) {
/* We wanna know how many arrays are on the path to the entity. We also have to know how
* many elements each array holds to calculate the offset for the entity. */
for (j = 0; j < graph_length; j++) {
- entity *step = get_compound_graph_path_node(path, j);
- type *step_type = get_entity_type(step);
- int ty_size = (get_type_size_bits(step_type) + 7) >> 3;
- int n = 0;
+ entity *step = get_compound_graph_path_node(path, j);
+ ir_type *step_type = get_entity_type(step);
+ int ty_size = (get_type_size_bits(step_type) + 7) >> 3;
+ int n = 0;
- entity *step = get_compound_graph_path_node(path, j);
- type *step_type = get_entity_type(step);
- int ent_ofs = get_entity_offset_bytes(step);
- int stepsize = 0;
+ entity *step = get_compound_graph_path_node(path, j);
+ ir_type *step_type = get_entity_type(step);
+ int ent_ofs = get_entity_offset_bytes(step);
+ int stepsize = 0;