diff options
author | ReinUsesLisp <[email protected]> | 2021-03-28 18:52:32 -0300 |
---|---|---|
committer | ReinUsesLisp <[email protected]> | 2021-03-28 18:52:32 -0300 |
commit | 84fab900242f3565f2ba8eb643aa03ede3ff39e9 (patch) | |
tree | 278554fbe4398f51f662d322d70fd5c5ffe7db95 /include | |
parent | 0ef6e807abc9ac74343568c27de5b500093d4ae8 (diff) | |
download | sirit-84fab900242f3565f2ba8eb643aa03ede3ff39e9.tar.gz sirit-84fab900242f3565f2ba8eb643aa03ede3ff39e9.zip |
Add OpFunctionParameter
Diffstat (limited to 'include')
-rw-r--r-- | include/sirit/sirit.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sirit/sirit.h b/include/sirit/sirit.h index 574a9cc..c26304b 100644 --- a/include/sirit/sirit.h +++ b/include/sirit/sirit.h @@ -242,6 +242,9 @@ public: return OpFunctionCall(result_type, function, std::span<const Id>({arguments...})); } + /// Declare a formal parameter of the current function. + Id OpFunctionParameter(Id result_type); + // Flow /** |