summaryrefslogtreecommitdiff
path: root/src/lj_gc.h
diff options
context:
space:
mode:
authorMike Pall <mike>2009-12-08 20:35:29 +0100
committerMike Pall <mike>2009-12-08 20:35:29 +0100
commit3f1f9e11f4f699ae94182d4cba158092f434a7f6 (patch)
tree88fbb674a21a1d554d4b1ee9d4ef2c5fed6a1d88 /src/lj_gc.h
parent5287b9326479ea2b7dddd6f642673e58e5a7f354 (diff)
downloadluajit-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.h6
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);
43LJ_FUNC void lj_gc_finalizeudata(lua_State *L); 43LJ_FUNC void lj_gc_finalizeudata(lua_State *L);
44LJ_FUNC void lj_gc_freeall(global_State *g); 44LJ_FUNC void lj_gc_freeall(global_State *g);
45LJ_FUNCA int lj_gc_step(lua_State *L); 45LJ_FUNCA int lj_gc_step(lua_State *L);
46LJ_FUNCA void lj_gc_step_fixtop(lua_State *L); 46LJ_FUNCA void LJ_FASTCALL lj_gc_step_fixtop(lua_State *L);
47LJ_FUNCA void lj_gc_step_jit(lua_State *L, const BCIns *pc, MSize steps); 47LJ_FUNC void LJ_FASTCALL lj_gc_step_jit(lua_State *L, MSize steps);
48LJ_FUNC void lj_gc_fullgc(lua_State *L); 48LJ_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. */
59LJ_FUNC void lj_gc_barrierback(global_State *g, GCtab *t); 59LJ_FUNC void lj_gc_barrierback(global_State *g, GCtab *t);
60LJ_FUNC void lj_gc_barrierf(global_State *g, GCobj *o, GCobj *v); 60LJ_FUNC void lj_gc_barrierf(global_State *g, GCobj *o, GCobj *v);
61LJ_FUNCA void lj_gc_barrieruv(global_State *g, GCobj *o, GCobj *v); 61LJ_FUNCA void LJ_FASTCALL lj_gc_barrieruv(global_State *g, TValue *tv);
62LJ_FUNC void lj_gc_closeuv(global_State *g, GCupval *uv); 62LJ_FUNC void lj_gc_closeuv(global_State *g, GCupval *uv);
63LJ_FUNC void lj_gc_barriertrace(global_State *g, void *T); 63LJ_FUNC void lj_gc_barriertrace(global_State *g, void *T);
64 64