Author: Armin Rigo <[email protected]>
Branch: py3.6
Changeset: r96048:c2f51a1cf58c
Date: 2019-02-18 10:45 +0100
http://bitbucket.org/pypy/pypy/changeset/c2f51a1cf58c/
Log: Fix for test_decode_ascii after the utf8 merge
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
@@ -250,8 +250,11 @@
p80 = call_r(ConstClass(ll_char_mul__Char_Signed), 120, i53,
descr=<Callr . ii EF=3>)
guard_no_exception(descr=...)
guard_not_invalidated(descr=...)
- p53 = call_r(ConstClass(fast_str_decode_ascii), p80, descr=<Callr . r
EF=4>)
+ i59 = call_i(ConstClass(first_non_ascii_char), p80, descr=<Calli . r
EF=4>)
guard_no_exception(descr=...)
+ i61 = int_lt(i59, 0)
+ guard_true(i61, descr=...)
+ i62 = strlen(p80)
--TICK--
jump(..., descr=...)
""")
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit