diff options
author | Mike Pall <mike> | 2010-04-25 03:32:29 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2010-04-25 03:32:29 +0200 |
commit | 721b73fecbbeda5b5cb76628511c5b3fac41eb4d (patch) | |
tree | ce72efaa313ab16eda652e4d277413c31a8d2af3 /src/lj_trace.h | |
parent | 3a32bbc7cb5c2287e8d4e24e362281c165f50976 (diff) | |
download | luajit-721b73fecbbeda5b5cb76628511c5b3fac41eb4d.tar.gz luajit-721b73fecbbeda5b5cb76628511c5b3fac41eb4d.tar.bz2 luajit-721b73fecbbeda5b5cb76628511c5b3fac41eb4d.zip |
Turn traces into true GC objects (GCtrace).
Diffstat (limited to 'src/lj_trace.h')
-rw-r--r-- | src/lj_trace.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lj_trace.h b/src/lj_trace.h index 4d19454f..7e101436 100644 --- a/src/lj_trace.h +++ b/src/lj_trace.h | |||
@@ -23,10 +23,10 @@ LJ_FUNC_NORET void lj_trace_err(jit_State *J, TraceError e); | |||
23 | LJ_FUNC_NORET void lj_trace_err_info(jit_State *J, TraceError e); | 23 | LJ_FUNC_NORET void lj_trace_err_info(jit_State *J, TraceError e); |
24 | 24 | ||
25 | /* Trace management. */ | 25 | /* Trace management. */ |
26 | LJ_FUNC void lj_trace_freeproto(global_State *g, GCproto *pt); | 26 | LJ_FUNC void LJ_FASTCALL lj_trace_free(global_State *g, GCtrace *T); |
27 | LJ_FUNC void lj_trace_reenableproto(GCproto *pt); | 27 | LJ_FUNC void lj_trace_reenableproto(GCproto *pt); |
28 | LJ_FUNC void lj_trace_flushproto(global_State *g, GCproto *pt); | 28 | LJ_FUNC void lj_trace_flushproto(global_State *g, GCproto *pt); |
29 | LJ_FUNC int lj_trace_flush(jit_State *J, TraceNo traceno); | 29 | LJ_FUNC void lj_trace_flush(jit_State *J, TraceNo traceno); |
30 | LJ_FUNC int lj_trace_flushall(lua_State *L); | 30 | LJ_FUNC int lj_trace_flushall(lua_State *L); |
31 | LJ_FUNC void lj_trace_initstate(global_State *g); | 31 | LJ_FUNC void lj_trace_initstate(global_State *g); |
32 | LJ_FUNC void lj_trace_freestate(global_State *g); | 32 | LJ_FUNC void lj_trace_freestate(global_State *g); |
@@ -45,7 +45,6 @@ LJ_FUNCA int LJ_FASTCALL lj_trace_exit(jit_State *J, void *exptr); | |||
45 | #define lj_trace_flushall(L) (UNUSED(L), 0) | 45 | #define lj_trace_flushall(L) (UNUSED(L), 0) |
46 | #define lj_trace_initstate(g) UNUSED(g) | 46 | #define lj_trace_initstate(g) UNUSED(g) |
47 | #define lj_trace_freestate(g) UNUSED(g) | 47 | #define lj_trace_freestate(g) UNUSED(g) |
48 | #define lj_trace_freeproto(g, pt) (UNUSED(g), UNUSED(pt), (void)0) | ||
49 | #define lj_trace_abort(g) UNUSED(g) | 48 | #define lj_trace_abort(g) UNUSED(g) |
50 | #define lj_trace_end(J) UNUSED(J) | 49 | #define lj_trace_end(J) UNUSED(J) |
51 | 50 | ||