summaryrefslogtreecommitdiff
path: root/src/lj_snap.c
diff options
context:
space:
mode:
authorMike Pall <mike>2010-02-11 01:50:32 +0100
committerMike Pall <mike>2010-02-11 01:50:32 +0100
commit565eb3957485bf7568bf6e8bba75e5f35f9bf3e9 (patch)
treeacef778a7c3b1dca9bda327d9890316c1f47e650 /src/lj_snap.c
parentab90b8fc2b516fa38a194844e31c70c106153cdf (diff)
downloadluajit-565eb3957485bf7568bf6e8bba75e5f35f9bf3e9.tar.gz
luajit-565eb3957485bf7568bf6e8bba75e5f35f9bf3e9.tar.bz2
luajit-565eb3957485bf7568bf6e8bba75e5f35f9bf3e9.zip
Drop frame clearing in exit handling and JIT compiled code.
Diffstat (limited to 'src/lj_snap.c')
-rw-r--r--src/lj_snap.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/lj_snap.c b/src/lj_snap.c
index 95dc77da..547b2089 100644
--- a/src/lj_snap.c
+++ b/src/lj_snap.c
@@ -229,10 +229,6 @@ void lj_snap_restore(jit_State *J, void *exptr)
229 o = L->top; 229 o = L->top;
230 } 230 }
231 fs = o + framesize; 231 fs = o + framesize;
232 if (s == 0) /* Only partially clear tail call frame at #0. */
233 o = &frame[nslots];
234 while (o < fs) /* Clear slots of newly added frames. */
235 setnilV(o++);
236 } 232 }
237 } 233 }
238 } 234 }