summaryrefslogtreecommitdiffhomepage
path: root/ir/be/TEMPLATE
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/TEMPLATE
parent002cc34b8f7a5c1c5fbfac0a35146431e89cfcc6 (diff)
Rename get_type_{size|alignment}_bytes() to get_type{size|alignment}()
Diffstat (limited to 'ir/be/TEMPLATE')
-rw-r--r--ir/be/TEMPLATE/TEMPLATE_emitter.c2
-rw-r--r--ir/be/TEMPLATE/bearch_TEMPLATE.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/ir/be/TEMPLATE/TEMPLATE_emitter.c b/ir/be/TEMPLATE/TEMPLATE_emitter.c
index bec80aa..0518044 100644
--- a/ir/be/TEMPLATE/TEMPLATE_emitter.c
+++ b/ir/be/TEMPLATE/TEMPLATE_emitter.c
@@ -173,7 +173,7 @@ static void emit_Return(const ir_node *node)
{
ir_graph *irg = get_irn_irg(node);
ir_type *frame_type = get_irg_frame_type(irg);
- unsigned size = get_type_size_bytes(frame_type);
+ unsigned size = get_type_size(frame_type);
/* emit function epilog here */
diff --git a/ir/be/TEMPLATE/bearch_TEMPLATE.c b/ir/be/TEMPLATE/bearch_TEMPLATE.c
index 65fcd61..1c44aab 100644
--- a/ir/be/TEMPLATE/bearch_TEMPLATE.c
+++ b/ir/be/TEMPLATE/bearch_TEMPLATE.c
@@ -67,7 +67,7 @@ static void introduce_prologue(ir_graph *const irg)
ir_node *const block = get_nodes_block(start);
ir_node *const initial_sp = be_get_Start_proj(irg, sp);
ir_type *const frame_type = get_irg_frame_type(irg);
- unsigned const frame_size = get_type_size_bytes(frame_type);
+ unsigned const frame_size = get_type_size(frame_type);
ir_node *const incsp = be_new_IncSP(sp, block, initial_sp, frame_size, 0);
edges_reroute_except(initial_sp, incsp, incsp);
sched_add_after(start, incsp);