summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bespillslots.c
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2016-02-13 21:34:30 +0100
committerMatthias Braun <matze@braunis.de>2016-02-14 05:41:48 +0100
commite293c97104423d422a994daaccb1a5c292d55d70 (patch)
treedd476b98d1ae6efcfa05c727b000f932dbe84c04 /ir/be/bespillslots.c
parent002cc34b8f7a5c1c5fbfac0a35146431e89cfcc6 (diff)
Rename get_type_{size|alignment}_bytes() to get_type{size|alignment}()
Diffstat (limited to 'ir/be/bespillslots.c')
-rw-r--r--ir/be/bespillslots.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/ir/be/bespillslots.c b/ir/be/bespillslots.c
index a7fc0ee..7f4ab15 100644
--- a/ir/be/bespillslots.c
+++ b/ir/be/bespillslots.c
@@ -137,8 +137,7 @@ static void merge_spilltypes(spillweb_t *web, const ir_type *type1)
return;
}
assert(modes_compatible(get_type_mode(type0), get_type_mode(type1)));
- web->type = get_type_size_bytes(type1) > get_type_size_bytes(type0)
- ? type1 : type0;
+ web->type = get_type_size(type1) > get_type_size(type0) ? type1 : type0;
}
static spillweb_t *get_spill_web(spillweb_t *begin)
@@ -482,8 +481,8 @@ static void assign_spillslots(be_fec_env_t *env)
int slotid = spill->spillslot;
const spillweb_t *web = get_spill_web(spill->web);
const ir_type *type = web->type;
- int size = get_type_size_bytes(type);
- int align = get_type_alignment_bytes(type);
+ int size = get_type_size(type);
+ int align = get_type_alignment(type);
spill_slot_t *slot = &spillslots[slotid];
if (slot->align == 0 && slot->size == 0) {