diff options
author | Mike Pall <mike> | 2012-07-02 22:52:15 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2012-07-02 22:52:15 +0200 |
commit | afeb4e2c510ae70e0885d537cd4fb277a5d5de57 (patch) | |
tree | a7c7029e43afdb0fc17d39a4dd283a1abe91cefe /src/lj_record.c | |
parent | f093a34a2f7a80b8a85880864dac2f3dad814f51 (diff) | |
download | luajit-afeb4e2c510ae70e0885d537cd4fb277a5d5de57.tar.gz luajit-afeb4e2c510ae70e0885d537cd4fb277a5d5de57.tar.bz2 luajit-afeb4e2c510ae70e0885d537cd4fb277a5d5de57.zip |
Handle initial snapshot for side traces in lj_snap.c only.
Diffstat (limited to 'src/lj_record.c')
-rw-r--r-- | src/lj_record.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lj_record.c b/src/lj_record.c index 2ce8564c..be5c618f 100644 --- a/src/lj_record.c +++ b/src/lj_record.c | |||
@@ -2122,7 +2122,6 @@ void lj_record_setup(jit_State *J) | |||
2122 | J->startpc = NULL; /* Prevent forming an extra loop. */ | 2122 | J->startpc = NULL; /* Prevent forming an extra loop. */ |
2123 | } | 2123 | } |
2124 | lj_snap_replay(J, T); | 2124 | lj_snap_replay(J, T); |
2125 | lj_snap_add(J); | ||
2126 | sidecheck: | 2125 | sidecheck: |
2127 | if (traceref(J, J->cur.root)->nchild >= J->param[JIT_P_maxside] || | 2126 | if (traceref(J, J->cur.root)->nchild >= J->param[JIT_P_maxside] || |
2128 | T->snap[J->exitno].count >= J->param[JIT_P_hotexit] + | 2127 | T->snap[J->exitno].count >= J->param[JIT_P_hotexit] + |