[pypy-svn] r63410 - pypy/branch/pyjitpl5-simplify/pypy/jit/metainterp/doc

arigo at codespeak.net arigo at codespeak.net
Sat Mar 28 15:11:11 CET 2009


Author: arigo
Date: Sat Mar 28 15:11:09 2009
New Revision: 63410

Modified:
   pypy/branch/pyjitpl5-simplify/pypy/jit/metainterp/doc/loop.txt
Log:
Add "we will see later".


Modified: pypy/branch/pyjitpl5-simplify/pypy/jit/metainterp/doc/loop.txt
==============================================================================
--- pypy/branch/pyjitpl5-simplify/pypy/jit/metainterp/doc/loop.txt	(original)
+++ pypy/branch/pyjitpl5-simplify/pypy/jit/metainterp/doc/loop.txt	Sat Mar 28 15:11:09 2009
@@ -76,6 +76,13 @@
 
 Stop tracing when we encounter the next ``can_enter_jit``.
 
+Call "the old ``can_enter_jit``" the ``can_enter_jit`` that we started
+with in case 1, or the one that is at the start of the existing loop
+before the guard failure in case 2.  If the old and the new
+``can_enter_jit`` are not at the same bytecode position, we are not
+seeing a loop at all; this is a corner case for now (let's see later).
+We will assume that the bytecode position is the same for the sequel.
+
 Call "the loop" the sequence of instructions from the old
 ``can_enter_jit`` to the new one.  In the case 2 above, this means that
 we must insert into the loop all unoptimized operations that go before



More information about the Pypy-commit mailing list