Author: Hakan Ardo <[email protected]>
Branch: jit-multilabel
Changeset: r50796:707ec0f104cd
Date: 2011-12-21 11:44 +0100
http://bitbucket.org/pypy/pypy/changeset/707ec0f104cd/
Log: avoiding confusion from rare hash collisions
diff --git a/pypy/jit/metainterp/history.py b/pypy/jit/metainterp/history.py
--- a/pypy/jit/metainterp/history.py
+++ b/pypy/jit/metainterp/history.py
@@ -707,7 +707,7 @@
self.exported_state = None
def repr_of_descr(self):
- return 'TargetToken(%d)' % compute_identity_hash(self)
+ return 'TargetToken(%d)' % compute_unique_id(self)
class TreeLoop(object):
inputargs = None
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit