Author: Armin Rigo <[email protected]>
Branch: py3.6
Changeset: r96052:6ae608ba39ef
Date: 2019-02-18 11:07 +0100
http://bitbucket.org/pypy/pypy/changeset/6ae608ba39ef/
Log: fix the first part of this test (only, for now)
diff --git a/pypy/module/pypyjit/test_pypy_c/test_containers.py
b/pypy/module/pypyjit/test_pypy_c/test_containers.py
--- a/pypy/module/pypyjit/test_pypy_c/test_containers.py
+++ b/pypy/module/pypyjit/test_pypy_c/test_containers.py
@@ -64,19 +64,20 @@
i8 = int_lt(i5, i7)
guard_true(i8, descr=...)
guard_not_invalidated(descr=...)
- p109 = call_r(ConstClass(ll_str__IntegerR_SignedConst_Signed), i5,
descr=<Callr . i EF=3>)
+ p10 = call_r(ConstClass(ll_str__IntegerR_SignedConst_Signed), i5,
descr=<Callr . i EF=3>)
guard_no_exception(descr=...)
- i80 = strlen(p109)
- p86 = call_r(ConstClass(str_decode_utf_8), p109, i80,
ConstPtr(ptr82), 1, ConstClass(raise_unicode_exception_decode), 1, descr=<Callr
8 ririii EF=4>)
+ i80 = call_i(ConstClass(codepoints_in_utf8), p10, 0, _,
descr=<Calli . rii EF=4>)
guard_no_exception(descr=...)
- p10 = getfield_gc_r(p86, descr=<FieldP tuple2.item0 8 pure>)
guard_nonnull(p10, descr=...)
+ i99 = strhash(p10)
- i99 = unicodehash(p10)
# NOTE: with siphash24, notably on unicodes, computing the hash
# may raise MemoryError
- i12 = cond_call_value_i(i99,
ConstClass(_ll_strhash__rpy_unicodePtr), p10, descr=<Calli . r EF=5>)
+ i87 = cond_call_value_i(i99,
ConstClass(_ll_strhash__rpy_stringPtr), p10, descr=<Calli . r EF=5>)
guard_no_exception(descr=...)
+ i89 = int_eq(i87, -1)
+ i12 = int_sub(i87, i89)
+
p13 = new(descr=...)
p15 = new_array_clear(16, descr=<ArrayU 1>)
{{{
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit