diff options
author | Matthias Braun <matze@braunis.de> | 2017-01-08 01:48:44 +0100 |
---|---|---|
committer | Matthias Braun <matze@braunis.de> | 2017-01-28 21:29:52 +0100 |
commit | 02d3785428a79147325d84eafa3befa63f173ada (patch) | |
tree | 8c10637f24273db7b4f39352ea9dc19e4867b431 | |
parent | 15a116e9da1fc900d6bbc66c8a9a2f8b44fc0311 (diff) |
Adapt to libfirm va_arg changes
m--------- | libfirm | 0 | ||||
-rw-r--r-- | src/ast/types.c | 2 | ||||
-rw-r--r-- | src/firm/ast2firm.c | 6 |
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)) { |