Author: Alex Gaynor <[email protected]>
Branch:
Changeset: r44113:2cf2bc2ec94a
Date: 2011-05-12 22:14 -0400
http://bitbucket.org/pypy/pypy/changeset/2cf2bc2ec94a/
Log: Allow the JIT to inline into posix. These are mostly wrappers around
low level functions, and it's silly to force the caches to be
cleared because of those calls, as well as the extra
wrapping/allocation of W_ objects.
diff --git a/pypy/module/pypyjit/policy.py b/pypy/module/pypyjit/policy.py
--- a/pypy/module/pypyjit/policy.py
+++ b/pypy/module/pypyjit/policy.py
@@ -14,7 +14,7 @@
modname, _ = modname.split('.', 1)
if modname in ['pypyjit', 'signal', 'micronumpy', 'math', 'exceptions',
'imp', 'sys', 'array', '_ffi', 'itertools', 'operator',
- '_socket', '_sre', '_lsprof']:
+ 'posix', '_socket', '_sre', '_lsprof']:
return True
return False
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit