From 9540626e5793583b6feb36d025dc640c7cb97cc8 Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Sun, 5 Sep 2021 12:01:26 -0700 Subject: qbe: Use ... to separate named and variadic arguments This requires a not-yet-upstream QBE patch, and is needed for riscv64 support, since the calling convention may be different depending on whether the argument is named or variadic. --- test/float-promote.qbe | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/float-promote.qbe b/test/float-promote.qbe index 5dad07c..97638e7 100644 --- a/test/float-promote.qbe +++ b/test/float-promote.qbe @@ -5,7 +5,7 @@ function $f() { %.1 =d exts s_1 call $g1(d %.1) %.2 =d exts s_1 - call $g2(w 0, d %.2, ...) + call $g2(w 0, ..., d %.2) call $g3(s s_1) ret } -- cgit v1.2.3