[pypy-svn] pypy jit-lsprofile: Provide a missing oopspec (for jit inlining reasons)

fijal commits-noreply at bitbucket.org
Thu Mar 24 16:50:19 CET 2011


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: jit-lsprofile
Changeset: r42903:804d53b007fa
Date: 2011-03-24 09:49 -0600
http://bitbucket.org/pypy/pypy/changeset/804d53b007fa/

Log:	Provide a missing oopspec (for jit inlining reasons)

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
@@ -512,6 +512,7 @@
             ll_dict_insertclean(d, entry.key, entry.value, hash)
         i += 1
     old_entries.delete()
+ll_dict_resize.oopspec = 'dict.resize(d)'
 
 # ------- a port of CPython's dictobject.c's lookdict implementation -------
 PERTURB_SHIFT = 5


More information about the Pypy-commit mailing list