[pypy-svn] r71578 - in pypy/trunk/pypy: jit/backend/x86 rlib/rsre

fijal at codespeak.net fijal at codespeak.net
Mon Mar 1 04:06:08 CET 2010


Author: fijal
Date: Mon Mar  1 04:05:53 2010
New Revision: 71578

Modified:
   pypy/trunk/pypy/jit/backend/x86/codebuf.py
   pypy/trunk/pypy/jit/backend/x86/valgrind.py
   pypy/trunk/pypy/rlib/rsre/_rsre_platform.py
Log:
Sprinkle sandboxsafe here and there


Modified: pypy/trunk/pypy/jit/backend/x86/codebuf.py
==============================================================================
--- pypy/trunk/pypy/jit/backend/x86/codebuf.py	(original)
+++ pypy/trunk/pypy/jit/backend/x86/codebuf.py	Mon Mar  1 04:05:53 2010
@@ -155,4 +155,5 @@
         separate_module_sources = ['void PYPY_NO_OP(void) {}'],
         )
     ensure_sse2_floats = rffi.llexternal('PYPY_NO_OP', [], lltype.Void,
-                                         compilation_info=_sse2_eci)
+                                         compilation_info=_sse2_eci,
+                                         sandboxsafe=True)

Modified: pypy/trunk/pypy/jit/backend/x86/valgrind.py
==============================================================================
--- pypy/trunk/pypy/jit/backend/x86/valgrind.py	(original)
+++ pypy/trunk/pypy/jit/backend/x86/valgrind.py	Mon Mar  1 04:05:53 2010
@@ -20,7 +20,8 @@
         [llmemory.Address, lltype.Signed],
         lltype.Void,
         compilation_info=eci,
-        _nowrapper=True)
+        _nowrapper=True,
+        sandboxsafe=True)
 
 # ____________________________________________________________
 

Modified: pypy/trunk/pypy/rlib/rsre/_rsre_platform.py
==============================================================================
--- pypy/trunk/pypy/rlib/rsre/_rsre_platform.py	(original)
+++ pypy/trunk/pypy/rlib/rsre/_rsre_platform.py	Mon Mar  1 04:05:53 2010
@@ -10,7 +10,8 @@
         return rffi.llexternal(name, args, result, compilation_info=eci, **kwds)
 
 tolower = external('tolower', [lltype.Signed], lltype.Signed,
-                                      oo_primitive='tolower')
+                                      oo_primitive='tolower',
+                   sandboxsafe=True)
 isalnum = external('isalnum', [lltype.Signed], lltype.Signed,
-                   oo_primitive='isalnum')
+                   oo_primitive='isalnum', sandboxsafe=True)
                    



More information about the Pypy-commit mailing list