[pypy-commit] pypy inline-dict-ops: don't look inside ll_dict_lookup, it's a bit sketchy
fijal
noreply at buildbot.pypy.org
Sun Oct 2 01:16:37 CEST 2011
Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: inline-dict-ops
Changeset: r47763:6da395d124d3
Date: 2011-10-01 15:58 -0300
http://bitbucket.org/pypy/pypy/changeset/6da395d124d3/
Log: don't look inside ll_dict_lookup, it's a bit sketchy
diff --git a/pypy/rpython/lltypesystem/rdict.py b/pypy/rpython/lltypesystem/rdict.py
--- a/pypy/rpython/lltypesystem/rdict.py
+++ b/pypy/rpython/lltypesystem/rdict.py
@@ -528,6 +528,7 @@
# ------- a port of CPython's dictobject.c's lookdict implementation -------
PERTURB_SHIFT = 5
+ at jit.dont_look_inside
def ll_dict_lookup(d, key, hash):
entries = d.entries
ENTRIES = lltype.typeOf(entries).TO
More information about the pypy-commit
mailing list