summaryrefslogtreecommitdiff
path: root/src/runtime/c
diff options
context:
space:
mode:
authorKrasimir Angelov <kr.angelov@gmail.com>2023-09-07 17:37:25 +0200
committerGitHub <noreply@github.com>2023-09-07 17:37:25 +0200
commit096b36c21d9657d1dee93638b436dc7bb35af439 (patch)
treee9a566c0de709f35053c7c5158451256fbb0da9f /src/runtime/c
parent86af7b12b3f9f9f712ddcf19973cfb1a80042aa9 (diff)
Update jit.c
Diffstat (limited to 'src/runtime/c')
-rw-r--r--src/runtime/c/pgf/jit.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/runtime/c/pgf/jit.c b/src/runtime/c/pgf/jit.c
index 5912dfea5..4aa489560 100644
--- a/src/runtime/c/pgf/jit.c
+++ b/src/runtime/c/pgf/jit.c
@@ -22,7 +22,9 @@ pgf_new_jit(PgfReader* rdr)
PGF_INTERNAL PgfEvalGates*
pgf_jit_gates(PgfReader* rdr)
{
- return NULL;
+ PgfEvalGates* gates = gu_new(PgfEvalGates, rdr->opool);
+ memset(gates, 0, sizeof(*gates));
+ return gates;
}
PGF_INTERNAL void