[pypy-commit] pypy default: Clarify this by moving the "return" statement after the comment.
arigo
noreply at buildbot.pypy.org
Tue Jul 26 14:39:10 CEST 2011
Author: Armin Rigo <arigo at tunes.org>
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:
More information about the pypy-commit
mailing list