Skip to content

Commit

Permalink
the jitter should still read the absfuns even for EMSCRIPTEN and aarch64
Browse files Browse the repository at this point in the history
  • Loading branch information
krangelov authored Aug 11, 2023
1 parent e2c2763 commit 86af7b1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/runtime/c/pgf/jit.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,14 @@ PGF_INTERNAL void
pgf_jit_predicate(PgfReader* rdr, PgfAbstr* abstr,
PgfAbsCat* abscat)
{
size_t n_funs = pgf_read_len(rdr);
gu_return_on_exn(rdr->err, );

for (size_t i = 0; i < n_funs; i++) {
gu_in_f64be(rdr->in, rdr->err); // ignore
gu_return_on_exn(rdr->err,);
pgf_read_cid(rdr, rdr->tmp_pool);
}
}

PGF_INTERNAL void
Expand Down

0 comments on commit 86af7b1

Please sign in to comment.