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 /doc | |
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 'doc')
-rw-r--r-- | doc/api.html | 13 |
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 | |||
138 | debugging purposes. | 138 | debugging 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> |
143 | Tries to flush the code for the specified trace and all of its | 143 | Flushes the specified root trace and all of its side traces from the cache. |
144 | side traces from the cache. Returns <tt>true</tt> on success. | 144 | The code for the trace will be retained as long as there are any other |
145 | Returns <tt>false</tt> if there are still links to this trace. | 145 | traces 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 | LUAJIT_MODE_TRACE|LUAJIT_MODE_FLUSH)</tt></h3> | 263 | LUAJIT_MODE_TRACE|LUAJIT_MODE_FLUSH)</tt></h3> |
264 | <p> | 264 | <p> |
265 | Tries to flush the code for the specified trace and all of its | 265 | Flushes the specified root trace and all of its side traces from the cache. |
266 | side traces from the cache. | 266 | The code for the trace will be retained as long as there are any other |
267 | traces 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> |