diff options
author | Michael Forney <mforney@mforney.org> | 2021-09-05 12:01:26 -0700 |
---|---|---|
committer | Michael Forney <mforney@mforney.org> | 2021-10-25 10:18:18 -0700 |
commit | 9540626e5793583b6feb36d025dc640c7cb97cc8 (patch) | |
tree | 348f347f43b764bc08a84f8ed0daef9476864200 /test | |
parent | b764d2eaff0d2031bbc823bfe1eb76531b3335af (diff) |
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.
Diffstat (limited to 'test')
-rw-r--r-- | test/float-promote.qbe | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |