summaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime')
-rw-r--r--src/runtime/c/pgf/jit.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/runtime/c/pgf/jit.c b/src/runtime/c/pgf/jit.c
index 5c8afddb9..de9e5b0c0 100644
--- a/src/runtime/c/pgf/jit.c
+++ b/src/runtime/c/pgf/jit.c
@@ -972,6 +972,18 @@ pgf_jit_function(PgfReader* rdr, PgfAbstr* abstr,
jit_pushr_p(JIT_R0);
break;
}
+ case 3: {
+ PgfCId id = pgf_read_cid(rdr, rdr->tmp_pool);
+#ifdef PGF_JIT_DEBUG
+ gu_printf(out, err, "PUSH %s", id);
+#endif
+ PgfCallPatch patch;
+ patch.cid = id;
+ patch.ref = jit_addi_p(JIT_R0, JIT_VSTATE, jit_forward());
+ gu_buf_push(rdr->jit_state->call_patches, PgfCallPatch, patch);
+ jit_pushr_p(JIT_R0);
+ break;
+ }
default:
gu_impossible();
}