From 721b73fecbbeda5b5cb76628511c5b3fac41eb4d Mon Sep 17 00:00:00 2001
From: Mike Pall
Date: Sun, 25 Apr 2010 03:32:29 +0200
Subject: Turn traces into true GC objects (GCtrace).
---
doc/api.html | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
(limited to 'doc/api.html')
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
debugging purposes.
-status = jit.flush(tr)
+jit.flush(tr)
-Tries to flush the code for the specified trace and all of its
-side traces from the cache. Returns true on success.
-Returns false if there are still links to this trace.
+Flushes the specified root trace and all of its side traces from the cache.
+The code for the trace will be retained as long as there are any other
+traces which link to it.
status, ... = jit.status()
@@ -262,8 +262,9 @@ applies recursively to all sub-functions of the function with
luaJIT_setmode(L, trace,
LUAJIT_MODE_TRACE|LUAJIT_MODE_FLUSH)
-Tries to flush the code for the specified trace and all of its
-side traces from the cache.
+Flushes the specified root trace and all of its side traces from the cache.
+The code for the trace will be retained as long as there are any other
+traces which link to it.
luaJIT_setmode(L, idx, LUAJIT_MODE_WRAPCFUNC|flag)
--
cgit v1.2.3-55-g6feb