Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r46004:f89b43e167ad
Date: 2011-07-26 14:39 +0200
http://bitbucket.org/pypy/pypy/changeset/f89b43e167ad/

Log:    Clarify this by moving the "return" statement after the comment.

diff --git a/pypy/rpython/memory/gc/minimark.py 
b/pypy/rpython/memory/gc/minimark.py
--- a/pypy/rpython/memory/gc/minimark.py
+++ b/pypy/rpython/memory/gc/minimark.py
@@ -1785,8 +1785,9 @@
                     # after the object.  But we cannot use it for id()
                     # because the stored value might clash with a real one.
                     size = self.get_size(obj)
-                    return (obj + size).signed[0]
+                    i = (obj + size).signed[0]
                     # Important: the returned value is not mangle_hash()ed!
+                    return i
         #
         i = llmemory.cast_adr_to_int(obj)
         if is_hash:
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to