[pypy-svn] r48708 - pypy/dist/pypy/translator/c

fijal at codespeak.net fijal at codespeak.net
Thu Nov 15 14:44:55 CET 2007


Author: fijal
Date: Thu Nov 15 14:44:54 2007
New Revision: 48708

Modified:
   pypy/dist/pypy/translator/c/node.py
Log:
Squash some hacks


Modified: pypy/dist/pypy/translator/c/node.py
==============================================================================
--- pypy/dist/pypy/translator/c/node.py	(original)
+++ pypy/dist/pypy/translator/c/node.py	Thu Nov 15 14:44:54 2007
@@ -821,11 +821,7 @@
         # 'fnobj' is one of the ll_xyz() functions with the suggested_primitive
         # flag in pypy.rpython.module.*.  The corresponding C wrappers are
         # written by hand in src/ll_*.h, and declared in extfunc.EXTERNALS.
-        if sandbox and not (
-                   fnobj._name.startswith('ll_strtod_')   # XXX!! TEMPORARY!
-                or fnobj._name.startswith('ll_time_')   # XXX!! TEMPORARY!
-                or fnobj._name.startswith('ll_stack_')   # XXX!! TEMPORARY!
-                ):
+        if sandbox and not fnobj._name.startswith('ll_stack_'):
             return sandbox_stub(fnobj, db)
         db.externalfuncs[fnobj._callable] = fnobj
         return []



More information about the Pypy-commit mailing list