X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Ftr%2Fcompound_path.c;h=81b41702a0919ef05d40680265309e506f995b67;hb=2158510961e84fb11e9195c200335f2314e49055;hp=34b086f9ea4c8a3ff6ecaea7831f7bc0a3eab877;hpb=00aca144882030833111974e71c0baaf0e0fd910;p=libfirm diff --git a/ir/tr/compound_path.c b/ir/tr/compound_path.c index 34b086f9e..81b41702a 100644 --- a/ir/tr/compound_path.c +++ b/ir/tr/compound_path.c @@ -336,7 +336,7 @@ unsigned get_compound_ent_value_offset_bytes(const ir_entity *ent, int pos) int idx; assert(size > 0); - if(size % align > 0) { + if (size % align > 0) { size += align - (size % align); } idx = get_compound_graph_path_array_index(path, i); @@ -366,7 +366,7 @@ unsigned get_compound_ent_value_offset_bit_remainder(const ir_entity *ent, path_len = get_compound_graph_path_length(path); last_node = get_compound_graph_path_node(path, path_len - 1); - if(last_node == NULL) + if (last_node == NULL) return 0; return get_entity_offset_bits_remainder(last_node);