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_jit.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_jit.h')
-rw-r--r-- | src/lj_jit.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lj_jit.h b/src/lj_jit.h index 6a47961b..ad9d62af 100644 --- a/src/lj_jit.h +++ b/src/lj_jit.h | |||
@@ -362,6 +362,7 @@ typedef struct FoldState { | |||
362 | /* JIT compiler state. */ | 362 | /* JIT compiler state. */ |
363 | typedef struct jit_State { | 363 | typedef struct jit_State { |
364 | GCtrace cur; /* Current trace. */ | 364 | GCtrace cur; /* Current trace. */ |
365 | GCtrace *curfinal; /* Final address of current trace (set during asm). */ | ||
365 | 366 | ||
366 | lua_State *L; /* Current Lua state. */ | 367 | lua_State *L; /* Current Lua state. */ |
367 | const BCIns *pc; /* Current PC. */ | 368 | const BCIns *pc; /* Current PC. */ |