[pypy-svn] pypy jit-lsprofile: Don't look into as_rdict. How this could have ever worked even?

fijal commits-noreply at bitbucket.org
Thu Mar 24 01:48:08 CET 2011


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: jit-lsprofile
Changeset: r42885:2656b457b868
Date: 2011-03-23 18:47 -0600
http://bitbucket.org/pypy/pypy/changeset/2656b457b868/

Log:	Don't look into as_rdict. How this could have ever worked even?

diff --git a/pypy/objspace/std/mapdict.py b/pypy/objspace/std/mapdict.py
--- a/pypy/objspace/std/mapdict.py
+++ b/pypy/objspace/std/mapdict.py
@@ -636,6 +636,7 @@
     def _clear_fields(self):
         self.w_obj = None
 
+    @jit.dont_look_inside
     def _as_rdict(self):
         self.initialize_as_rdict()
         space = self.space


More information about the Pypy-commit mailing list