summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
m---------libfirm0
-rw-r--r--src/ast/types.c2
-rw-r--r--src/firm/ast2firm.c6
3 files changed, 4 insertions, 4 deletions
diff --git a/libfirm b/libfirm
-Subproject a88c098556141f3955a61954c70a136cdabd73a
+Subproject ec7cfdce1d4fbf613620772367a7adf3f3ca50a
diff --git a/src/ast/types.c b/src/ast/types.c
index 5414963..22217d4 100644
--- a/src/ast/types.c
+++ b/src/ast/types.c
@@ -199,7 +199,7 @@ void init_predefined_types(void)
type_builtin_template_ptr = make_pointer_type(type_builtin_template, TYPE_QUALIFIER_NONE);
backend_params const *const be_params = be_get_backend_param();
- ir_type *be_va_list_type = be_params->vararg.va_list_type;
+ ir_type *be_va_list_type = be_params->va_list_type;
if (!be_va_list_type) {
/* Backend has no vararg support. Just hope the the program will not be
* using any. If it does, the parse_va_* functions will complain. */
diff --git a/src/firm/ast2firm.c b/src/firm/ast2firm.c
index 7933f13..a7a1912 100644
--- a/src/firm/ast2firm.c
+++ b/src/firm/ast2firm.c
@@ -2193,7 +2193,7 @@ static ir_node *va_start_expression_to_firm(const va_start_expression_t *const e
ir_node *const memory = get_store();
backend_params const *const be_params = be_get_backend_param();
- ir_type *va_list_type = be_params->vararg.va_list_type;
+ ir_type *va_list_type = be_params->va_list_type;
if (is_Pointer_type(va_list_type)) {
/* The backend implements va_list as a single pointer. The initial value of
@@ -2237,7 +2237,7 @@ static ir_node *va_arg_expression_to_firm(const va_arg_expression_t *const expr)
resmode = mode_P;
backend_params const *const be_params = be_get_backend_param();
- ir_type *va_list_type = be_params->vararg.va_list_type;
+ ir_type *va_list_type = be_params->va_list_type;
if (is_Pointer_type(va_list_type)) {
/* va_arg takes the old pointer as argument and returns the current argument
@@ -2292,7 +2292,7 @@ static ir_node *va_copy_expression_to_firm(const va_copy_expression_t *const exp
{
ir_node *const src = expression_to_value(expr->src);
backend_params const *const be_params = be_get_backend_param();
- ir_type *const va_list_type = be_params->vararg.va_list_type;
+ ir_type *const va_list_type = be_params->va_list_type;
dbg_info *const dbgi = get_dbg_info(&expr->base.pos);
if (is_Pointer_type(va_list_type)) {