summary refs log tree commit diff
path: root/test/echo.ssa
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2017-02-07 23:01:24 -0500
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2017-02-10 11:05:54 -0500
commitb99a8b0d07d43b89d5e27883ee5a9a67c2645809 (patch)
tree9a3f4ebcc0bb971a7e361115b8d9b19529902cb7 /test/echo.ssa
parent8799dc30ac472545bc93957c22f070590ff44cb3 (diff)
downloadroux-b99a8b0d07d43b89d5e27883ee5a9a67c2645809.tar.gz
support variable argument lists
This change is backward compatible, calls to
"variadic" functions (like printf) must now be
annotated (with ...).
Diffstat (limited to 'test/echo.ssa')
-rw-r--r--test/echo.ssa2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/echo.ssa b/test/echo.ssa
index 6671a6a..6010986 100644
--- a/test/echo.ssa
+++ b/test/echo.ssa
@@ -20,7 +20,7 @@ function w $main(w %argc, l %argv) {
 @loop2
 	%sep =w phi @last 10, @nolast 32
 	%arg =l loadl %av
-	%r =w call $printf(l %fmt, l %arg, w %sep)
+	%r =w call $printf(l %fmt, l %arg, w %sep, ...)
 	%av1 =l add %av, 8
 	%ac1 =w sub %ac, 1
 	jmp @loop