summaryrefslogtreecommitdiff
path: root/src/lj_gc.h
diff options
context:
space:
mode:
authorMike Pall <mike>2010-04-18 13:41:30 +0200
committerMike Pall <mike>2010-04-19 00:43:35 +0200
commit932cda0fe3cbd34e60aa68479935c946f69b756f (patch)
tree9e46aa620a75b5ac5bc95413b8b7b57e507d82a1 /src/lj_gc.h
parentff82df797a5ddf6ed2610ff1808b1fdc53686ea1 (diff)
downloadluajit-932cda0fe3cbd34e60aa68479935c946f69b756f.tar.gz
luajit-932cda0fe3cbd34e60aa68479935c946f69b756f.tar.bz2
luajit-932cda0fe3cbd34e60aa68479935c946f69b756f.zip
Replace on-trace GC frame syncing with interpreter exit.
Need to sync GC objects to stack only during atomic GC phase. Need to setup a proper frame structure only for calling finalizers. Force an exit to the interpreter and let it handle the uncommon cases. Finally solves the "NYI: gcstep sync with frames" issue.
Diffstat (limited to 'src/lj_gc.h')
-rw-r--r--src/lj_gc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_gc.h b/src/lj_gc.h
index 228835ac..4832eca8 100644
--- a/src/lj_gc.h
+++ b/src/lj_gc.h
@@ -47,7 +47,7 @@ LJ_FUNC void lj_gc_freeall(global_State *g);
47LJ_FUNCA int LJ_FASTCALL lj_gc_step(lua_State *L); 47LJ_FUNCA int LJ_FASTCALL lj_gc_step(lua_State *L);
48LJ_FUNCA void LJ_FASTCALL lj_gc_step_fixtop(lua_State *L); 48LJ_FUNCA void LJ_FASTCALL lj_gc_step_fixtop(lua_State *L);
49#if LJ_HASJIT 49#if LJ_HASJIT
50LJ_FUNC void LJ_FASTCALL lj_gc_step_jit(lua_State *L, MSize steps); 50LJ_FUNC int LJ_FASTCALL lj_gc_step_jit(lua_State *L, MSize steps);
51#endif 51#endif
52LJ_FUNC void lj_gc_fullgc(lua_State *L); 52LJ_FUNC void lj_gc_fullgc(lua_State *L);
53 53