[pypy-svn] pypy default: Update comment for variable picking algorithm

bivab commits-noreply at bitbucket.org
Thu Feb 17 14:55:22 CET 2011


Author: David Schneider <david.schneider at picle.org>
Branch: 
Changeset: r42108:c920da595e27
Date: 2011-02-17 14:52 +0100
http://bitbucket.org/pypy/pypy/changeset/c920da595e27/

Log:	Update comment for variable picking algorithm

diff --git a/pypy/jit/backend/llsupport/regalloc.py b/pypy/jit/backend/llsupport/regalloc.py
--- a/pypy/jit/backend/llsupport/regalloc.py
+++ b/pypy/jit/backend/llsupport/regalloc.py
@@ -158,7 +158,7 @@
 
     def _pick_variable_to_spill(self, v, forbidden_vars, selected_reg=None,
                                 need_lower_byte=False):
-        """ Silly algorithm.
+        """ Slightly less silly algorithm.
         """
         cur_max_age = -1
         candidate = None


More information about the Pypy-commit mailing list