summaryrefslogtreecommitdiff
path: root/src/lj_state.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lj_state.c')
-rw-r--r--src/lj_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_state.c b/src/lj_state.c
index 34da3690..e1b9021e 100644
--- a/src/lj_state.c
+++ b/src/lj_state.c
@@ -61,7 +61,7 @@ static void resizestack(lua_State *L, MSize n)
61 L->base = (TValue *)((char *)L->base + delta); 61 L->base = (TValue *)((char *)L->base + delta);
62 L->top = (TValue *)((char *)L->top + delta); 62 L->top = (TValue *)((char *)L->top + delta);
63 for (up = gcref(L->openupval); up != NULL; up = gcnext(up)) 63 for (up = gcref(L->openupval); up != NULL; up = gcnext(up))
64 gco2uv(up)->v = (TValue *)((char *)gco2uv(up)->v + delta); 64 setmref(gco2uv(up)->v, (TValue *)((char *)uvval(gco2uv(up)) + delta));
65 if (obj2gco(L) == gcref(G(L)->jit_L)) 65 if (obj2gco(L) == gcref(G(L)->jit_L))
66 setmref(G(L)->jit_base, mref(G(L)->jit_base, char) + delta); 66 setmref(G(L)->jit_base, mref(G(L)->jit_base, char) + delta);
67} 67}