diff options
author | Mike Pall <mike> | 2009-12-08 20:35:29 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2009-12-08 20:35:29 +0100 |
commit | 3f1f9e11f4f699ae94182d4cba158092f434a7f6 (patch) | |
tree | 88fbb674a21a1d554d4b1ee9d4ef2c5fed6a1d88 /src/lj_gc.h | |
parent | 5287b9326479ea2b7dddd6f642673e58e5a7f354 (diff) | |
download | luajit-3f1f9e11f4f699ae94182d4cba158092f434a7f6.tar.gz luajit-3f1f9e11f4f699ae94182d4cba158092f434a7f6.tar.bz2 luajit-3f1f9e11f4f699ae94182d4cba158092f434a7f6.zip |
Fast forward to sync public repo.
Compile math.sinh(), math.cosh(), math.tanh() and math.random().
Compile various io.*() functions.
Drive the GC forward on string allocations in the parser.
Improve KNUM fuse vs. load heuristics.
Add abstract C call handling to IR.
Diffstat (limited to 'src/lj_gc.h')
-rw-r--r-- | src/lj_gc.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lj_gc.h b/src/lj_gc.h index 192066d3..0dbb9b82 100644 --- a/src/lj_gc.h +++ b/src/lj_gc.h | |||
@@ -43,8 +43,8 @@ LJ_FUNC size_t lj_gc_separateudata(global_State *g, int all); | |||
43 | LJ_FUNC void lj_gc_finalizeudata(lua_State *L); | 43 | LJ_FUNC void lj_gc_finalizeudata(lua_State *L); |
44 | LJ_FUNC void lj_gc_freeall(global_State *g); | 44 | LJ_FUNC void lj_gc_freeall(global_State *g); |
45 | LJ_FUNCA int lj_gc_step(lua_State *L); | 45 | LJ_FUNCA int lj_gc_step(lua_State *L); |
46 | LJ_FUNCA void lj_gc_step_fixtop(lua_State *L); | 46 | LJ_FUNCA void LJ_FASTCALL lj_gc_step_fixtop(lua_State *L); |
47 | LJ_FUNCA void lj_gc_step_jit(lua_State *L, const BCIns *pc, MSize steps); | 47 | LJ_FUNC void LJ_FASTCALL lj_gc_step_jit(lua_State *L, MSize steps); |
48 | LJ_FUNC void lj_gc_fullgc(lua_State *L); | 48 | LJ_FUNC void lj_gc_fullgc(lua_State *L); |
49 | 49 | ||
50 | /* GC check: drive collector forward if the GC threshold has been reached. */ | 50 | /* GC check: drive collector forward if the GC threshold has been reached. */ |
@@ -58,7 +58,7 @@ LJ_FUNC void lj_gc_fullgc(lua_State *L); | |||
58 | /* Write barriers. */ | 58 | /* Write barriers. */ |
59 | LJ_FUNC void lj_gc_barrierback(global_State *g, GCtab *t); | 59 | LJ_FUNC void lj_gc_barrierback(global_State *g, GCtab *t); |
60 | LJ_FUNC void lj_gc_barrierf(global_State *g, GCobj *o, GCobj *v); | 60 | LJ_FUNC void lj_gc_barrierf(global_State *g, GCobj *o, GCobj *v); |
61 | LJ_FUNCA void lj_gc_barrieruv(global_State *g, GCobj *o, GCobj *v); | 61 | LJ_FUNCA void LJ_FASTCALL lj_gc_barrieruv(global_State *g, TValue *tv); |
62 | LJ_FUNC void lj_gc_closeuv(global_State *g, GCupval *uv); | 62 | LJ_FUNC void lj_gc_closeuv(global_State *g, GCupval *uv); |
63 | LJ_FUNC void lj_gc_barriertrace(global_State *g, void *T); | 63 | LJ_FUNC void lj_gc_barriertrace(global_State *g, void *T); |
64 | 64 | ||