aboutsummaryrefslogtreecommitdiff
path: root/src/ejit.c
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2025-03-05 18:12:31 +0200
committerKimplul <kimi.h.kuparinen@gmail.com>2025-03-05 18:12:31 +0200
commit3adb590d96e9184975344b181065a2e0fe689c2c (patch)
treea17c2c3324b5f1f938fec349d8b6fad0fb992436 /src/ejit.c
parentcb21b31b31dc30023d6fadcab3c15b258f40be9b (diff)
downloadejit-3adb590d96e9184975344b181065a2e0fe689c2c.tar.gz
ejit-3adb590d96e9184975344b181065a2e0fe689c2c.zip
allow direct calls between compiled functions
Diffstat (limited to 'src/ejit.c')
-rw-r--r--src/ejit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ejit.c b/src/ejit.c
index cfbbbc1..7a31c5a 100644
--- a/src/ejit.c
+++ b/src/ejit.c
@@ -52,6 +52,7 @@ struct ejit_func *ejit_create_func(enum ejit_type rtype, size_t argc,
f->insns = insns_create();
f->labels = labels_create();
f->arena = NULL;
+ f->direct_call = NULL;
f->size = 0;
for (size_t i = 0; i < argc; ++i) {