summaryrefslogtreecommitdiff
path: root/src/lj_trace.h
diff options
context:
space:
mode:
authorMike Pall <mike>2010-02-24 23:17:17 +0100
committerMike Pall <mike>2010-02-24 23:17:17 +0100
commitb95294572ce8efa527e0b0118bb7168117afd171 (patch)
tree1aa393c982f67b4e558805b12ca5b3f4c26509cb /src/lj_trace.h
parentb32f4f4549b94ea18da1d5b2280c8b6ba0089a9b (diff)
downloadluajit-b95294572ce8efa527e0b0118bb7168117afd171.tar.gz
luajit-b95294572ce8efa527e0b0118bb7168117afd171.tar.bz2
luajit-b95294572ce8efa527e0b0118bb7168117afd171.zip
Move SIMD constants to jit_State to keep them in the low 4GB.
Diffstat (limited to '')
-rw-r--r--src/lj_trace.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lj_trace.h b/src/lj_trace.h
index 6944bd9c..4d19454f 100644
--- a/src/lj_trace.h
+++ b/src/lj_trace.h
@@ -28,6 +28,7 @@ LJ_FUNC void lj_trace_reenableproto(GCproto *pt);
28LJ_FUNC void lj_trace_flushproto(global_State *g, GCproto *pt); 28LJ_FUNC void lj_trace_flushproto(global_State *g, GCproto *pt);
29LJ_FUNC int lj_trace_flush(jit_State *J, TraceNo traceno); 29LJ_FUNC int lj_trace_flush(jit_State *J, TraceNo traceno);
30LJ_FUNC int lj_trace_flushall(lua_State *L); 30LJ_FUNC int lj_trace_flushall(lua_State *L);
31LJ_FUNC void lj_trace_initstate(global_State *g);
31LJ_FUNC void lj_trace_freestate(global_State *g); 32LJ_FUNC void lj_trace_freestate(global_State *g);
32 33
33/* Event handling. */ 34/* Event handling. */
@@ -42,6 +43,7 @@ LJ_FUNCA int LJ_FASTCALL lj_trace_exit(jit_State *J, void *exptr);
42#else 43#else
43 44
44#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)
45#define lj_trace_freestate(g) UNUSED(g) 47#define lj_trace_freestate(g) UNUSED(g)
46#define lj_trace_freeproto(g, pt) (UNUSED(g), UNUSED(pt), (void)0) 48#define lj_trace_freeproto(g, pt) (UNUSED(g), UNUSED(pt), (void)0)
47#define lj_trace_abort(g) UNUSED(g) 49#define lj_trace_abort(g) UNUSED(g)