Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r66953:caa51c7055cf
Date: 2013-09-15 12:18 +0200
http://bitbucket.org/pypy/pypy/changeset/caa51c7055cf/

Log:    Comment.

diff --git a/rpython/jit/backend/llsupport/regalloc.py 
b/rpython/jit/backend/llsupport/regalloc.py
--- a/rpython/jit/backend/llsupport/regalloc.py
+++ b/rpython/jit/backend/llsupport/regalloc.py
@@ -77,6 +77,11 @@
         node = self.master_node
         #
         if hint >= 0:
+            # Look for and remove the Node with the .val matching 'hint'.
+            # If not found, fall back to removing the first Node.
+            # Note that the loop below ignores the first Node, but
+            # even if by chance it is the one with the correct .val,
+            # it will be the one we remove at the end anyway.
             prev_node = node
             while prev_node.next:
                 if prev_node.next.val == hint:
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to