diff options
author | Mike Pall <mike> | 2016-05-22 23:25:28 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2016-05-22 23:25:28 +0200 |
commit | a657fa01869e63508afce88cc8088c3d2e2fb47c (patch) | |
tree | 1a98114d87e4deaf3f2e72a2f95da7559e49d15c /src/lj_trace.h | |
parent | 513587656a36362e08fb99a28a280a9d412ef1bc (diff) | |
download | luajit-a657fa01869e63508afce88cc8088c3d2e2fb47c.tar.gz luajit-a657fa01869e63508afce88cc8088c3d2e2fb47c.tar.bz2 luajit-a657fa01869e63508afce88cc8088c3d2e2fb47c.zip |
Make the IR immovable after assembly.
This allows embedding pointers to IR constants in the machine code.
Contributed by Peter Cawley.
Diffstat (limited to 'src/lj_trace.h')
-rw-r--r-- | src/lj_trace.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lj_trace.h b/src/lj_trace.h index 6faa1aa3..5658d8a5 100644 --- a/src/lj_trace.h +++ b/src/lj_trace.h | |||
@@ -23,6 +23,7 @@ LJ_FUNC_NORET void lj_trace_err(jit_State *J, TraceError e); | |||
23 | LJ_FUNC_NORET void lj_trace_err_info(jit_State *J, TraceError e); | 23 | LJ_FUNC_NORET void lj_trace_err_info(jit_State *J, TraceError e); |
24 | 24 | ||
25 | /* Trace management. */ | 25 | /* Trace management. */ |
26 | LJ_FUNC GCtrace * LJ_FASTCALL lj_trace_alloc(lua_State *L, GCtrace *T); | ||
26 | LJ_FUNC void LJ_FASTCALL lj_trace_free(global_State *g, GCtrace *T); | 27 | LJ_FUNC void LJ_FASTCALL lj_trace_free(global_State *g, GCtrace *T); |
27 | LJ_FUNC void lj_trace_reenableproto(GCproto *pt); | 28 | LJ_FUNC void lj_trace_reenableproto(GCproto *pt); |
28 | LJ_FUNC void lj_trace_flushproto(global_State *g, GCproto *pt); | 29 | LJ_FUNC void lj_trace_flushproto(global_State *g, GCproto *pt); |