diff options
author | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2017-02-07 23:01:24 -0500 |
---|---|---|
committer | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2017-02-10 11:05:54 -0500 |
commit | b99a8b0d07d43b89d5e27883ee5a9a67c2645809 (patch) | |
tree | 9a3f4ebcc0bb971a7e361115b8d9b19529902cb7 /test/echo.ssa | |
parent | 8799dc30ac472545bc93957c22f070590ff44cb3 (diff) | |
download | roux-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.ssa | 2 |
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 |