diff options
Diffstat (limited to 'src/copyjit.c')
| -rw-r--r-- | src/copyjit.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/copyjit.c b/src/copyjit.c index 0de85d3..96616e3 100644 --- a/src/copyjit.c +++ b/src/copyjit.c @@ -471,6 +471,11 @@ void compile_start(ctx_t *ctx) ctx->pc = ctx->buf; } +void compile_destroy(ctx_t *ctx) +{ + munmap(ctx->buf, ctx->size); +} + reloc_t compile_placeholder(ctx_t *ctx, compile_callback_t call) { reloc_t r = {0}; |
