diff options
Diffstat (limited to 'src/lj_gc.h')
-rw-r--r-- | src/lj_gc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lj_gc.h b/src/lj_gc.h index 49545c2e..3c4f2d24 100644 --- a/src/lj_gc.h +++ b/src/lj_gc.h | |||
@@ -46,7 +46,9 @@ LJ_FUNC void lj_gc_finalizeudata(lua_State *L); | |||
46 | LJ_FUNC void lj_gc_freeall(global_State *g); | 46 | LJ_FUNC void lj_gc_freeall(global_State *g); |
47 | LJ_FUNCA int LJ_FASTCALL lj_gc_step(lua_State *L); | 47 | LJ_FUNCA int LJ_FASTCALL lj_gc_step(lua_State *L); |
48 | LJ_FUNCA void LJ_FASTCALL lj_gc_step_fixtop(lua_State *L); | 48 | LJ_FUNCA void LJ_FASTCALL lj_gc_step_fixtop(lua_State *L); |
49 | #if LJ_HASJIT | ||
49 | LJ_FUNC void LJ_FASTCALL lj_gc_step_jit(lua_State *L, MSize steps); | 50 | LJ_FUNC void LJ_FASTCALL lj_gc_step_jit(lua_State *L, MSize steps); |
51 | #endif | ||
50 | LJ_FUNC void lj_gc_fullgc(lua_State *L); | 52 | LJ_FUNC void lj_gc_fullgc(lua_State *L); |
51 | 53 | ||
52 | /* GC check: drive collector forward if the GC threshold has been reached. */ | 54 | /* GC check: drive collector forward if the GC threshold has been reached. */ |
@@ -62,7 +64,9 @@ LJ_FUNC void lj_gc_barrierback(global_State *g, GCtab *t); | |||
62 | LJ_FUNC void lj_gc_barrierf(global_State *g, GCobj *o, GCobj *v); | 64 | LJ_FUNC void lj_gc_barrierf(global_State *g, GCobj *o, GCobj *v); |
63 | LJ_FUNCA void LJ_FASTCALL lj_gc_barrieruv(global_State *g, TValue *tv); | 65 | LJ_FUNCA void LJ_FASTCALL lj_gc_barrieruv(global_State *g, TValue *tv); |
64 | LJ_FUNC void lj_gc_closeuv(global_State *g, GCupval *uv); | 66 | LJ_FUNC void lj_gc_closeuv(global_State *g, GCupval *uv); |
67 | #if LJ_HASJIT | ||
65 | LJ_FUNC void lj_gc_barriertrace(global_State *g, void *T); | 68 | LJ_FUNC void lj_gc_barriertrace(global_State *g, void *T); |
69 | #endif | ||
66 | 70 | ||
67 | /* Barrier for stores to table objects. TValue and GCobj variant. */ | 71 | /* Barrier for stores to table objects. TValue and GCobj variant. */ |
68 | #define lj_gc_barriert(L, t, tv) \ | 72 | #define lj_gc_barriert(L, t, tv) \ |