summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bevarargs.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/bevarargs.c
parent002cc34b8f7a5c1c5fbfac0a35146431e89cfcc6 (diff)
Rename get_type_{size|alignment}_bytes() to get_type{size|alignment}()
Diffstat (limited to 'ir/be/bevarargs.c')
-rw-r--r--ir/be/bevarargs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ir/be/bevarargs.c b/ir/be/bevarargs.c
index a8168ce..db47e3c 100644
--- a/ir/be/bevarargs.c
+++ b/ir/be/bevarargs.c
@@ -42,7 +42,8 @@ void be_default_lower_va_arg(ir_node *node)
}
backend_params const *const be_params = be_get_backend_param();
- unsigned round_up = round_up2(get_type_size_bytes(aptype), be_params->stack_param_align);
+ unsigned const round_up = round_up2(get_type_size(aptype),
+ be_params->stack_param_align);
ir_mode *const offset_mode = get_reference_offset_mode(mode_P);
ir_node *const offset = new_r_Const_long(irg, offset_mode, round_up);
ir_node *const new_ap = new_rd_Add(dbgi, block, ap, offset, mode_P);