Author: Maciej Fijalkowski <[email protected]>
Branch: 
Changeset: r47839:9af0a17b33a8
Date: 2011-10-06 04:04 +0200
http://bitbucket.org/pypy/pypy/changeset/9af0a17b33a8/

Log:    hopefully fix annenforceargs

diff --git a/pypy/rpython/lltypesystem/rstr.py 
b/pypy/rpython/lltypesystem/rstr.py
--- a/pypy/rpython/lltypesystem/rstr.py
+++ b/pypy/rpython/lltypesystem/rstr.py
@@ -694,8 +694,8 @@
             return -1
         return count
 
+    @enforceargs(int, None)
     @jit.look_inside_iff(lambda length, items: jit.isconstant(length) and 
length <= 2)
-    @enforceargs(int, None)
     def ll_join_strs(length, items):
         # Special case for length 1 items, helps both the JIT and other code
         if length == 1:
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to