aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/api.html13
1 files changed, 7 insertions, 6 deletions
diff --git a/doc/api.html b/doc/api.html
index 79924f4f..1494d490 100644
--- a/doc/api.html
+++ b/doc/api.html
@@ -138,11 +138,11 @@ of a module to turn off JIT compilation for the whole module for
138debugging purposes. 138debugging purposes.
139</p> 139</p>
140 140
141<h3 id="jit_flush_tr"><tt>status = jit.flush(tr)</tt></h3> 141<h3 id="jit_flush_tr"><tt>jit.flush(tr)</tt></h3>
142<p> 142<p>
143Tries to flush the code for the specified trace and all of its 143Flushes the specified root trace and all of its side traces from the cache.
144side traces from the cache. Returns <tt>true</tt> on success. 144The code for the trace will be retained as long as there are any other
145Returns <tt>false</tt> if there are still links to this trace. 145traces which link to it.
146</p> 146</p>
147 147
148<h3 id="jit_status"><tt>status, ... = jit.status()</tt></h3> 148<h3 id="jit_status"><tt>status, ... = jit.status()</tt></h3>
@@ -262,8 +262,9 @@ applies recursively to all sub-functions of the function with
262<h3 id="mode_engine"><tt>luaJIT_setmode(L, trace,<br> 262<h3 id="mode_engine"><tt>luaJIT_setmode(L, trace,<br>
263&nbsp;&nbsp;LUAJIT_MODE_TRACE|LUAJIT_MODE_FLUSH)</tt></h3> 263&nbsp;&nbsp;LUAJIT_MODE_TRACE|LUAJIT_MODE_FLUSH)</tt></h3>
264<p> 264<p>
265Tries to flush the code for the specified trace and all of its 265Flushes the specified root trace and all of its side traces from the cache.
266side traces from the cache. 266The code for the trace will be retained as long as there are any other
267traces which link to it.
267</p> 268</p>
268 269
269<h3 id="mode_engine"><tt>luaJIT_setmode(L, idx, LUAJIT_MODE_WRAPCFUNC|flag)</tt></h3> 270<h3 id="mode_engine"><tt>luaJIT_setmode(L, idx, LUAJIT_MODE_WRAPCFUNC|flag)</tt></h3>