[pypy-svn] r70886 - pypy/branch/unroll-safe-if-const-arg/pypy/objspace/std

cfbolz at codespeak.net cfbolz at codespeak.net
Tue Jan 26 15:49:14 CET 2010


Author: cfbolz
Date: Tue Jan 26 15:49:14 2010
New Revision: 70886

Modified:
   pypy/branch/unroll-safe-if-const-arg/pypy/objspace/std/formatting.py
Log:
two more unroll-safe needed


Modified: pypy/branch/unroll-safe-if-const-arg/pypy/objspace/std/formatting.py
==============================================================================
--- pypy/branch/unroll-safe-if-const-arg/pypy/objspace/std/formatting.py	(original)
+++ pypy/branch/unroll-safe-if-const-arg/pypy/objspace/std/formatting.py	Tue Jan 26 15:49:14 2010
@@ -212,6 +212,7 @@
 
             return w_value
 
+        @jit.unroll_safe
         def peel_flags(self):
             self.f_ljust = False
             self.f_sign  = False
@@ -234,6 +235,7 @@
                     break
                 self.forward()
 
+        @jit.unroll_safe
         def peel_num(self):
             space = self.space
             c = self.peekchr()



More information about the Pypy-commit mailing list