diff options
author | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-06-24 20:33:56 +0300 |
---|---|---|
committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-06-24 20:33:56 +0300 |
commit | fe3d9c7dfbe4190ecf0919abe474e4da4c019566 (patch) | |
tree | 91dd12b6a9980e5945e7dbde761afadd9d118d09 /src/interp.c | |
parent | 5a4da8bac457f0e70e690a572eba9cf754e69a37 (diff) | |
download | ejit-fe3d9c7dfbe4190ecf0919abe474e4da4c019566.tar.gz ejit-fe3d9c7dfbe4190ecf0919abe474e4da4c019566.zip |
add initial compiler framework
Diffstat (limited to 'src/interp.c')
-rw-r--r-- | src/interp.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/interp.c b/src/interp.c index 4678aa1..bbf461b 100644 --- a/src/interp.c +++ b/src/interp.c @@ -176,15 +176,3 @@ out_float: free(fpr); return (union interp_ret){.d = retval_f}; } - -long ejit_run_func(struct ejit_func *f, size_t argc, struct ejit_arg args[argc]) -{ - assert(f->rtype == EJIT_VOID || ejit_int_type(f->rtype)); - return ejit_interp(f, argc, args, true, NULL).r; -} - -double ejit_run_func_f(struct ejit_func *f, size_t argc, struct ejit_arg args[argc]) -{ - assert(ejit_float_type(f->rtype)); - return ejit_interp(f, argc, args, true, NULL).d; -} |