diff options
author | Mike Pall <mike> | 2010-04-18 13:41:30 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2010-04-19 00:43:35 +0200 |
commit | 932cda0fe3cbd34e60aa68479935c946f69b756f (patch) | |
tree | 9e46aa620a75b5ac5bc95413b8b7b57e507d82a1 /src/lj_gc.h | |
parent | ff82df797a5ddf6ed2610ff1808b1fdc53686ea1 (diff) | |
download | luajit-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.h | 2 |
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); | |||
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 | #if LJ_HASJIT |
50 | LJ_FUNC void LJ_FASTCALL lj_gc_step_jit(lua_State *L, MSize steps); | 50 | LJ_FUNC int LJ_FASTCALL lj_gc_step_jit(lua_State *L, MSize steps); |
51 | #endif | 51 | #endif |
52 | LJ_FUNC void lj_gc_fullgc(lua_State *L); | 52 | LJ_FUNC void lj_gc_fullgc(lua_State *L); |
53 | 53 | ||