summaryrefslogtreecommitdiff
path: root/src/lj_trace.h
diff options
context:
space:
mode:
authorMike Pall <mike>2016-05-22 23:25:28 +0200
committerMike Pall <mike>2016-05-22 23:25:28 +0200
commita657fa01869e63508afce88cc8088c3d2e2fb47c (patch)
tree1a98114d87e4deaf3f2e72a2f95da7559e49d15c /src/lj_trace.h
parent513587656a36362e08fb99a28a280a9d412ef1bc (diff)
downloadluajit-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.h1
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);
23LJ_FUNC_NORET void lj_trace_err_info(jit_State *J, TraceError e); 23LJ_FUNC_NORET void lj_trace_err_info(jit_State *J, TraceError e);
24 24
25/* Trace management. */ 25/* Trace management. */
26LJ_FUNC GCtrace * LJ_FASTCALL lj_trace_alloc(lua_State *L, GCtrace *T);
26LJ_FUNC void LJ_FASTCALL lj_trace_free(global_State *g, GCtrace *T); 27LJ_FUNC void LJ_FASTCALL lj_trace_free(global_State *g, GCtrace *T);
27LJ_FUNC void lj_trace_reenableproto(GCproto *pt); 28LJ_FUNC void lj_trace_reenableproto(GCproto *pt);
28LJ_FUNC void lj_trace_flushproto(global_State *g, GCproto *pt); 29LJ_FUNC void lj_trace_flushproto(global_State *g, GCproto *pt);