summaryrefslogtreecommitdiffhomepage
path: root/ir/be/TEMPLATE
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2017-01-08 01:45:11 +0100
committerMatthias Braun <matze@braunis.de>2017-01-28 18:45:41 +0100
commitec7cfdce1d4fbf613620772367a7adf3f3ca50a4 (patch)
tree749b77a426915b3d4a635c45d54c8eb268f67581 /ir/be/TEMPLATE
parente05fde26a55e967319fa766f6f31a8c57d703244 (diff)
Reorganize va_arg handling
Do not put stuff unnecessarily into backend params. - Pass lower_va_arg directly as a parameter to lower_builtins - Pass stack_param align directly to be_default_lower_va_arg
Diffstat (limited to 'ir/be/TEMPLATE')
-rw-r--r--ir/be/TEMPLATE/TEMPLATE_bearch.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ir/be/TEMPLATE/TEMPLATE_bearch.c b/ir/be/TEMPLATE/TEMPLATE_bearch.c
index 8e8e2ca..35be207 100644
--- a/ir/be/TEMPLATE/TEMPLATE_bearch.c
+++ b/ir/be/TEMPLATE/TEMPLATE_bearch.c
@@ -119,7 +119,7 @@ static void TEMPLATE_finish(void)
static void TEMPLATE_lower_for_target(void)
{
- lower_builtins(0, NULL);
+ lower_builtins(0, NULL, NULL);
be_after_irp_transform("lower-builtins");
/* lower compound param handling */
@@ -152,7 +152,6 @@ static const backend_params *TEMPLATE_get_backend_params(void)
.machine_size = 32,
.mode_float_arithmetic = NULL,
.type_long_double = NULL,
- .stack_param_align = 4,
.float_int_overflow = ir_overflow_min_max,
};
return &p;