[pypy-svn] r68460 - pypy/branch/prevent-silly-unrolling/pypy/module/pypyjit

pedronis at codespeak.net pedronis at codespeak.net
Wed Oct 14 18:54:07 CEST 2009


Author: pedronis
Date: Wed Oct 14 18:54:07 2009
New Revision: 68460

Modified:
   pypy/branch/prevent-silly-unrolling/pypy/module/pypyjit/policy.py
Log:
(pedronis, cfbolz): we loose


Modified: pypy/branch/prevent-silly-unrolling/pypy/module/pypyjit/policy.py
==============================================================================
--- pypy/branch/prevent-silly-unrolling/pypy/module/pypyjit/policy.py	(original)
+++ pypy/branch/prevent-silly-unrolling/pypy/module/pypyjit/policy.py	Wed Oct 14 18:54:07 2009
@@ -3,8 +3,8 @@
 class PyPyJitPolicy(JitPolicy):
 
     def look_inside_pypy_module(self, modname):
-        if mod.startswith('pypy.module.__builtin__'):
-            if mod.endswith('operation') or mod.endswith('abstractinst'):
+        if modname.startswith('pypy.module.__builtin__'):
+            if modname.endswith('operation') or modname.endswith('abstractinst'):
                 return True
 
         modname, _ = modname.split('.', 1)



More information about the Pypy-commit mailing list