aboutsummaryrefslogtreecommitdiff
path: root/src/lj_gc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lj_gc.c')
-rw-r--r--src/lj_gc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lj_gc.c b/src/lj_gc.c
index d769c0c8..19cc9e7b 100644
--- a/src/lj_gc.c
+++ b/src/lj_gc.c
@@ -631,6 +631,7 @@ void LJ_FASTCALL lj_gc_step_fixtop(lua_State *L)
631 lj_gc_step(L); 631 lj_gc_step(L);
632} 632}
633 633
634#if LJ_HASJIT
634/* Perform multiple GC steps. Called from JIT-compiled code. */ 635/* Perform multiple GC steps. Called from JIT-compiled code. */
635void LJ_FASTCALL lj_gc_step_jit(lua_State *L, MSize steps) 636void LJ_FASTCALL lj_gc_step_jit(lua_State *L, MSize steps)
636{ 637{
@@ -638,6 +639,7 @@ void LJ_FASTCALL lj_gc_step_jit(lua_State *L, MSize steps)
638 while (steps-- > 0 && lj_gc_step(L) == 0) 639 while (steps-- > 0 && lj_gc_step(L) == 0)
639 ; 640 ;
640} 641}
642#endif
641 643
642/* Perform a full GC cycle. */ 644/* Perform a full GC cycle. */
643void lj_gc_fullgc(lua_State *L) 645void lj_gc_fullgc(lua_State *L)