summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bevarargs.c
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2017-01-29 06:57:22 +0100
committerChristoph Mallon <christoph.mallon@gmx.de>2017-01-29 19:10:15 +0100
commit39503e51557a9fbb45f0c5941f0c554472cefa82 (patch)
treea7f402bda461fa9ae06412391e8aab1572d07f86 /ir/be/bevarargs.c
parent10cf72329172d6ba1b4a0da04de8c6fa58d73fe8 (diff)
be: Restore be_set_va_list_type_pointer().
It was accidentally removed in ec7cfdce1d4fbf613620772367a7adf3f3ca50a4.
Diffstat (limited to 'ir/be/bevarargs.c')
-rw-r--r--ir/be/bevarargs.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ir/be/bevarargs.c b/ir/be/bevarargs.c
index f10e966..2c187fc 100644
--- a/ir/be/bevarargs.c
+++ b/ir/be/bevarargs.c
@@ -65,3 +65,8 @@ ir_entity *be_make_va_start_entity(ir_type *const frame_type, int const offset)
set_entity_offset(va_start, offset);
return va_start;
}
+
+void be_set_va_list_type_pointer(backend_params *const p)
+{
+ p->va_list_type = new_type_pointer(get_type_for_mode(mode_ANY));
+}