[pypy-commit] pypy default: Backout 5f1a23beccab: the part that changed test_string.py

arigo noreply at buildbot.pypy.org
Fri Nov 25 18:58:34 CET 2011


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r49797:90157a3cb825
Date: 2011-11-25 18:58 +0100
http://bitbucket.org/pypy/pypy/changeset/90157a3cb825/

Log:	Backout 5f1a23beccab: the part that changed test_string.py was not
	reverted when the rest of the code was.

diff --git a/pypy/module/pypyjit/test_pypy_c/test_string.py b/pypy/module/pypyjit/test_pypy_c/test_string.py
--- a/pypy/module/pypyjit/test_pypy_c/test_string.py
+++ b/pypy/module/pypyjit/test_pypy_c/test_string.py
@@ -33,8 +33,12 @@
             i24 = int_ge(i19, i12)
             guard_false(i24, descr=...)
             i25 = unicodegetitem(p13, i19)
-            i26 = int_eq(i23, i25)
-            guard_true(i26, descr=...)
+            p27 = newstr(1)
+            strsetitem(p27, 0, i23)
+            p30 = call(ConstClass(ll_str2unicode__rpy_stringPtr), p27, descr=...)
+            guard_no_exception(descr=...)
+            i32 = call(ConstClass(_ll_2_str_eq_checknull_char__rpy_unicodePtr_UniChar), p30, i25, descr=...)
+            guard_true(i32, descr=...)
             i34 = int_add(i6, 1)
             --TICK--
             jump(p0, p1, p2, p3, p4, p5, i34, p7, p8, i9, i10, p11, i12, p13, descr=...)


More information about the pypy-commit mailing list