diff options
| author | Quentin Carbonneaux <[email protected]> | 2017-02-07 23:01:24 -0500 |
|---|---|---|
| committer | Quentin Carbonneaux <[email protected]> | 2017-02-10 11:05:54 -0500 |
| commit | b99a8b0d07d43b89d5e27883ee5a9a67c2645809 (patch) | |
| tree | 9a3f4ebcc0bb971a7e361115b8d9b19529902cb7 /all.h | |
| parent | 8799dc30ac472545bc93957c22f070590ff44cb3 (diff) | |
support variable argument lists
This change is backward compatible, calls to
"variadic" functions (like printf) must now be
annotated (with ...).
Diffstat (limited to 'all.h')
| -rw-r--r-- | all.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -256,6 +256,9 @@ enum Op { Oalloc, Oalloc1 = Oalloc + NAlign-1, + Ovastart, + Ovaarg, + Ocopy, NPubOp, @@ -265,6 +268,7 @@ enum Op { Oarg, Oargc, Ocall, + Ovacall, /* reserved instructions */ Onop, @@ -442,6 +446,7 @@ struct Fn { bits reg; int slot; char export; + char vararg; char name[NString]; }; |
