diff options
author | Kimplul <kimi.h.kuparinen@gmail.com> | 2025-04-09 19:56:33 +0300 |
---|---|---|
committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2025-04-09 19:56:33 +0300 |
commit | 6824dd4b1ee22184f0e600115db3998924ed39d6 (patch) | |
tree | 0afbf35344313bdd17238b4fb570af0d094f758d /include | |
parent | 9e367e1824d62d3759cb19b7c9a433b67b96bd99 (diff) | |
download | ejit-6824dd4b1ee22184f0e600115db3998924ed39d6.tar.gz ejit-6824dd4b1ee22184f0e600115db3998924ed39d6.zip |
initial tail call stuff
Diffstat (limited to 'include')
-rw-r--r-- | include/ejit/ejit.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/include/ejit/ejit.h b/include/ejit/ejit.h index 965103c..aa42eca 100644 --- a/include/ejit/ejit.h +++ b/include/ejit/ejit.h @@ -454,18 +454,12 @@ typedef double (*ejit_escape_d_t)(size_t argc, const struct ejit_arg args[argc]) struct ejit_label ejit_label(struct ejit_func *s); -void ejit_calli_i(struct ejit_func *s, struct ejit_func *f, size_t argc, - const struct ejit_operand args[argc]); +void ejit_tailr(struct ejit_func *s, struct ejit_gpr target, + size_t argc, const struct ejit_operand args[argc]); -void ejit_calli_l(struct ejit_func *s, struct ejit_func *f, size_t argc, +void ejit_calli(struct ejit_func *s, struct ejit_func *f, size_t argc, const struct ejit_operand args[argc]); -void ejit_calli_f(struct ejit_func *s, struct ejit_func *f, size_t argc, - const struct ejit_operand args[argc]); - -void ejit_calli_d(struct ejit_func *s, struct ejit_func *f, size_t argc, - const struct ejit_operand args[argc]); - void ejit_escapei_i(struct ejit_func *s, ejit_escape_i_t f, size_t argc, const struct ejit_operand args[argc]); |