Make the IR immovable after assembly.
This allows embedding pointers to IR constants in the machine code. Contributed by Peter Cawley.
This commit is contained in:
@@ -23,6 +23,7 @@ LJ_FUNC_NORET void lj_trace_err(jit_State *J, TraceError e);
|
||||
LJ_FUNC_NORET void lj_trace_err_info(jit_State *J, TraceError e);
|
||||
|
||||
/* Trace management. */
|
||||
LJ_FUNC GCtrace * LJ_FASTCALL lj_trace_alloc(lua_State *L, GCtrace *T);
|
||||
LJ_FUNC void LJ_FASTCALL lj_trace_free(global_State *g, GCtrace *T);
|
||||
LJ_FUNC void lj_trace_reenableproto(GCproto *pt);
|
||||
LJ_FUNC void lj_trace_flushproto(global_State *g, GCproto *pt);
|
||||
|
||||
Reference in New Issue
Block a user