[pypy-commit] pypy default: fix comment

arigo noreply at buildbot.pypy.org
Sun Dec 11 21:57:56 CET 2011


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r50390:a83bd631dde3
Date: 2011-12-11 19:03 +0100
http://bitbucket.org/pypy/pypy/changeset/a83bd631dde3/

Log:	fix comment

diff --git a/pypy/jit/backend/llgraph/runner.py b/pypy/jit/backend/llgraph/runner.py
--- a/pypy/jit/backend/llgraph/runner.py
+++ b/pypy/jit/backend/llgraph/runner.py
@@ -261,8 +261,10 @@
         return fail_index
 
     def execute_token(self, loop_token):
-        """Calls the assembler generated for the given loop.
-        Returns the ResOperation that failed, of type rop.FAIL.
+        """Calls the fake 'assembler' generated for the given loop.
+        Returns the descr of the last executed operation: either the one
+        attached to the failing guard, or the one attached to the FINISH.
+        Use set_future_value_xxx() before, and get_latest_value_xxx() after.
         """
         fail_index = self._execute_token(loop_token)
         return self.get_fail_descr_from_number(fail_index)


More information about the pypy-commit mailing list