[pypy-commit] pypy default: fix test_pypy_c/test_ffi.py

bdkearns noreply at buildbot.pypy.org
Mon Mar 17 13:38:37 CET 2014


Author: Brian Kearns <bdkearns at gmail.com>
Branch: 
Changeset: r70011:3da8cfa97734
Date: 2014-03-17 08:37 -0400
http://bitbucket.org/pypy/pypy/changeset/3da8cfa97734/

Log:	fix test_pypy_c/test_ffi.py

diff --git a/pypy/module/pypyjit/test_pypy_c/test_ffi.py b/pypy/module/pypyjit/test_pypy_c/test_ffi.py
--- a/pypy/module/pypyjit/test_pypy_c/test_ffi.py
+++ b/pypy/module/pypyjit/test_pypy_c/test_ffi.py
@@ -342,12 +342,10 @@
         p167 = call(ConstClass(_ll_0_alloc_with_del___), descr=<Callr . EF=4>)
         guard_no_exception(descr=...)
         i168 = call(ConstClass(_ll_1_raw_malloc_varsize__Signed), 6, descr=<Calli . i EF=4 OS=110>)
-        setfield_gc(p167, 0, descr=<FieldU pypy.module._cffi_backend.cdataobj.W_CData.inst__cdata .>)
-        setfield_gc(p167, ConstPtr(ptr86), descr=<FieldP pypy.module._cffi_backend.cdataobj.W_CData.inst__lifeline_ .+>)
-        guard_no_exception(descr=...)
         i169 = int_add(i168, i97)
         i170 = int_sub(i160, i106)
         setfield_gc(p167, i168, descr=<FieldU pypy.module._cffi_backend.cdataobj.W_CData.inst__cdata .>)
+        setfield_gc(p167, ConstPtr(null), descr=<FieldP pypy.module._cffi_backend.cdataobj.W_CData.inst__lifeline_ .+>)
         setfield_gc(p167, ConstPtr(ptr89), descr=<FieldP pypy.module._cffi_backend.cdataobj.W_CData.inst_ctype .+>)
         i171 = uint_gt(i170, i108)
         guard_false(i171, descr=...)


More information about the pypy-commit mailing list