[pypy-commit] pypy default: Fix (found by targetgcbench)
arigo
noreply at buildbot.pypy.org
Tue Jan 14 07:12:27 CET 2014
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r68655:e90073a83e63
Date: 2014-01-14 07:11 +0100
http://bitbucket.org/pypy/pypy/changeset/e90073a83e63/
Log: Fix (found by targetgcbench)
diff --git a/rpython/rtyper/lltypesystem/rstr.py b/rpython/rtyper/lltypesystem/rstr.py
--- a/rpython/rtyper/lltypesystem/rstr.py
+++ b/rpython/rtyper/lltypesystem/rstr.py
@@ -624,6 +624,7 @@
i += 1
return count
+ @signature(types.any(), types.any(), types.int(), types.int(), returns=types.int())
def ll_find(s1, s2, start, end):
if start < 0:
start = 0
@@ -638,6 +639,7 @@
return LLHelpers.ll_search(s1, s2, start, end, FAST_FIND)
+ @signature(types.any(), types.any(), types.int(), types.int(), returns=types.int())
def ll_rfind(s1, s2, start, end):
if start < 0:
start = 0
More information about the pypy-commit
mailing list