[pypy-svn] r62816 - pypy/branch/speedup-globals/pypy/objspace/std
cfbolz at codespeak.net
cfbolz at codespeak.net
Tue Mar 10 16:34:18 CET 2009
Author: cfbolz
Date: Tue Mar 10 16:34:17 2009
New Revision: 62816
Modified:
pypy/branch/speedup-globals/pypy/objspace/std/celldict.py
Log:
help flow space
Modified: pypy/branch/speedup-globals/pypy/objspace/std/celldict.py
==============================================================================
--- pypy/branch/speedup-globals/pypy/objspace/std/celldict.py (original)
+++ pypy/branch/speedup-globals/pypy/objspace/std/celldict.py Tue Mar 10 16:34:17 2009
@@ -175,6 +175,7 @@
def getcache(self, code, w_globals):
implementation = getimplementation(w_globals)
+ index = -1 # for flow space
if code in self.code_to_index:
index = self.code_to_index[code]
if self.dictimpls[index] is implementation:
More information about the Pypy-commit
mailing list