[pypy-svn] r62629 - pypy/branch/pyjitpl5/pypy/translator/backendopt

fijal at codespeak.net fijal at codespeak.net
Fri Mar 6 09:36:34 CET 2009


Author: fijal
Date: Fri Mar  6 09:36:30 2009
New Revision: 62629

Modified:
   pypy/branch/pyjitpl5/pypy/translator/backendopt/support.py
Log:
oops


Modified: pypy/branch/pyjitpl5/pypy/translator/backendopt/support.py
==============================================================================
--- pypy/branch/pyjitpl5/pypy/translator/backendopt/support.py	(original)
+++ pypy/branch/pyjitpl5/pypy/translator/backendopt/support.py	Fri Mar  6 09:36:30 2009
@@ -111,7 +111,8 @@
     if memo and graph in memo:
         return memo[graph]
     res = [i for i in _find_calls_from(translator, graph)]
-    memo[graph] = res
+    if memo is not None:
+        memo[graph] = res
     return res
 
 def _find_calls_from(translator, graph):



More information about the Pypy-commit mailing list