[pypy-commit] pypy rpython-hash: Possible translation fix

arigo pypy.commits at gmail.com
Tue Jan 31 07:00:16 EST 2017


Author: Armin Rigo <arigo at tunes.org>
Branch: rpython-hash
Changeset: r89849:c115177531bb
Date: 2017-01-31 11:02 +0100
http://bitbucket.org/pypy/pypy/changeset/c115177531bb/

Log:	Possible translation fix

diff --git a/rpython/rtyper/lltypesystem/rstr.py b/rpython/rtyper/lltypesystem/rstr.py
--- a/rpython/rtyper/lltypesystem/rstr.py
+++ b/rpython/rtyper/lltypesystem/rstr.py
@@ -384,6 +384,7 @@
 
     @staticmethod
     @dont_inline
+    @jit.dont_look_inside
     def _ll_strhash(s):
         # unlike CPython, there is no reason to avoid to return -1
         # but our malloc initializes the memory to zero, so we use zero as the


More information about the pypy-commit mailing list