aboutsummaryrefslogtreecommitdiff
path: root/src/lj_obj.h
diff options
context:
space:
mode:
authorMike Pall <mike>2013-08-26 18:28:58 +0200
committerMike Pall <mike>2013-08-26 18:28:58 +0200
commit5120240b77e4544b9b7405b4849a6cc63cdbbe1e (patch)
tree40bb90b12d912924bc9abf1feb12347b8db6b520 /src/lj_obj.h
parentb33e96f3522e96e816cc46470b19d121bf88cfc8 (diff)
downloadluajit-5120240b77e4544b9b7405b4849a6cc63cdbbe1e.tar.gz
luajit-5120240b77e4544b9b7405b4849a6cc63cdbbe1e.tar.bz2
luajit-5120240b77e4544b9b7405b4849a6cc63cdbbe1e.zip
Use g->jit_base for on/off-trace detection.
Diffstat (limited to 'src/lj_obj.h')
-rw-r--r--src/lj_obj.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lj_obj.h b/src/lj_obj.h
index 5a05f38d..e97acef0 100644
--- a/src/lj_obj.h
+++ b/src/lj_obj.h
@@ -536,8 +536,8 @@ typedef struct global_State {
536 lua_CFunction panic; /* Called as a last resort for errors. */ 536 lua_CFunction panic; /* Called as a last resort for errors. */
537 BCIns bc_cfunc_int; /* Bytecode for internal C function calls. */ 537 BCIns bc_cfunc_int; /* Bytecode for internal C function calls. */
538 BCIns bc_cfunc_ext; /* Bytecode for external C function calls. */ 538 BCIns bc_cfunc_ext; /* Bytecode for external C function calls. */
539 GCRef jit_L; /* Current JIT code lua_State or NULL. */ 539 GCRef jit_L; /* Current JIT code lua_State. */
540 MRef jit_base; /* Current JIT code L->base. */ 540 MRef jit_base; /* Current JIT code L->base or NULL. */
541 MRef ctype_state; /* Pointer to C type state. */ 541 MRef ctype_state; /* Pointer to C type state. */
542 GCRef gcroot[GCROOT_MAX]; /* GC roots. */ 542 GCRef gcroot[GCROOT_MAX]; /* GC roots. */
543} global_State; 543} global_State;