[pypy-svn] pypy out-of-line-guards: Remove jit_invariant_fields on ModuleCell. This really breaks global counters

fijal commits-noreply at bitbucket.org
Mon Jan 17 10:25:19 CET 2011


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: out-of-line-guards
Changeset: r40744:c0f80a1a8d1c
Date: 2011-01-17 11:17 +0200
http://bitbucket.org/pypy/pypy/changeset/c0f80a1a8d1c/

Log:	Remove jit_invariant_fields on ModuleCell. This really breaks global
	counters (eg pystone)

diff --git a/pypy/objspace/std/celldict.py b/pypy/objspace/std/celldict.py
--- a/pypy/objspace/std/celldict.py
+++ b/pypy/objspace/std/celldict.py
@@ -8,8 +8,6 @@
 from pypy.rlib import jit
 
 class ModuleCell(object):
-    _jit_invariant_fields_ = ['w_value']
-    
     def invalidate(self):
         w_value = self.w_value
         self.w_value = None


More information about the Pypy-commit mailing list