[pypy-svn] r64898 - pypy/branch/pyjitpl5/pypy/module/pypyjit
fijal at codespeak.net
fijal at codespeak.net
Fri May 1 00:20:44 CEST 2009
Author: fijal
Date: Fri May 1 00:20:43 2009
New Revision: 64898
Modified:
pypy/branch/pyjitpl5/pypy/module/pypyjit/policy.py
Log:
oops, wrong order
Modified: pypy/branch/pyjitpl5/pypy/module/pypyjit/policy.py
==============================================================================
--- pypy/branch/pyjitpl5/pypy/module/pypyjit/policy.py (original)
+++ pypy/branch/pyjitpl5/pypy/module/pypyjit/policy.py Fri May 1 00:20:43 2009
@@ -19,6 +19,12 @@
return True
if '_mth_mm_' in func.__name__: # e.g. str_mth_mm_join_xxx
return True
+
+ # weakref support
+ if (mod == 'pypy.objspace.std.typeobject' and
+ func.__name__ == 'get_subclasses'):
+ return False
+
if mod.startswith('pypy.objspace.'):
# we don't support floats
if 'float' in mod or 'complex' in mod:
@@ -54,10 +60,5 @@
# return False
#if func.__name__ == 'll_update':
# return False
-
- # weakref support
- if (mod == 'pypy.objspace.std.typeobject' and
- func.__name__ == 'get_subclasses'):
- return False
return super(PyPyJitPolicy, self).look_inside_function(func)
More information about the Pypy-commit
mailing list