[pypy-commit] pypy rdict-experiments-3: Fix
arigo
noreply at buildbot.pypy.org
Thu Oct 10 17:05:23 CEST 2013
Author: Armin Rigo <arigo at tunes.org>
Branch: rdict-experiments-3
Changeset: r67295:2d1aff779d33
Date: 2013-10-10 16:31 +0200
http://bitbucket.org/pypy/pypy/changeset/2d1aff779d33/
Log: Fix
diff --git a/rpython/rtyper/lltypesystem/rdict.py b/rpython/rtyper/lltypesystem/rdict.py
--- a/rpython/rtyper/lltypesystem/rdict.py
+++ b/rpython/rtyper/lltypesystem/rdict.py
@@ -207,7 +207,9 @@
assert not self.force_non_null # XXX kill the flag
kwd = {}
if self.custom_eq_hash:
- kwd['get_custom_eq_hash'] = self.custom_eq_hash
+ self.r_rdict_eqfn, self.r_rdict_hashfn = (
+ self._custom_eq_hash_repr())
+ kwd['get_custom_eq_hash'] = self._custom_eq_hash_repr
else:
kwd['ll_hash_function'] = self.key_repr.get_ll_hash_function()
kwd['ll_eq_function'] = self.key_repr.get_ll_eq_function()
More information about the pypy-commit
mailing list