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:
@@ -362,6 +362,7 @@ typedef struct FoldState {
|
||||
/* JIT compiler state. */
|
||||
typedef struct jit_State {
|
||||
GCtrace cur; /* Current trace. */
|
||||
GCtrace *curfinal; /* Final address of current trace (set during asm). */
|
||||
|
||||
lua_State *L; /* Current Lua state. */
|
||||
const BCIns *pc; /* Current PC. */
|
||||
|
||||
Reference in New Issue
Block a user