[pypy-svn] r47184 - pypy/branch/rdict-index-based2/pypy/rpython/lltypesystem

arigo at codespeak.net arigo at codespeak.net
Fri Oct 5 11:40:34 CEST 2007


Author: arigo
Date: Fri Oct  5 11:40:34 2007
New Revision: 47184

Modified:
   pypy/branch/rdict-index-based2/pypy/rpython/lltypesystem/rdict.py
Log:
Probably a typo during the conversion - potentially very bad :-(


Modified: pypy/branch/rdict-index-based2/pypy/rpython/lltypesystem/rdict.py
==============================================================================
--- pypy/branch/rdict-index-based2/pypy/rpython/lltypesystem/rdict.py	(original)
+++ pypy/branch/rdict-index-based2/pypy/rpython/lltypesystem/rdict.py	Fri Oct  5 11:40:34 2007
@@ -452,7 +452,7 @@
     # the dict contains no deleted entries.  This routine has the advantage
     # of never calling d.keyhash() and d.keyeq(), so it cannot call back
     # to user code.  ll_dict_insertclean() doesn't resize the dict, either.
-    i = ll_dict_lookup(d, key, hash)
+    i = ll_dict_lookup_clean(d, hash)
     entry = d.entries[i]
     DICT = lltype.typeOf(d).TO
     entry.value = value



More information about the Pypy-commit mailing list