summaryrefslogtreecommitdiff
path: root/src/lj_state.c
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_state.c
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 'src/lj_state.c')
-rw-r--r--src/lj_state.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lj_state.c b/src/lj_state.c
index 8f8be97b..3305fd18 100644
--- a/src/lj_state.c
+++ b/src/lj_state.c
@@ -134,6 +134,7 @@ static TValue *cpluaopen(lua_State *L, lua_CFunction dummy, void *ud)
134 lj_lex_init(L); 134 lj_lex_init(L);
135 fixstring(lj_err_str(L, LJ_ERR_ERRMEM)); /* Preallocate memory error msg. */ 135 fixstring(lj_err_str(L, LJ_ERR_ERRMEM)); /* Preallocate memory error msg. */
136 g->gc.threshold = 4*g->gc.total; 136 g->gc.threshold = 4*g->gc.total;
137 lj_trace_initstate(g);
137 return NULL; 138 return NULL;
138} 139}
139 140