Author: Armin Rigo <ar...@tunes.org>
Branch: use-gc-del-3
Changeset: r84265:199051ab596e
Date: 2016-05-06 15:17 +0200
http://bitbucket.org/pypy/pypy/changeset/199051ab596e/

Log:    Fix test

diff --git a/pypy/module/pypyjit/test_pypy_c/test_weakref.py 
b/pypy/module/pypyjit/test_pypy_c/test_weakref.py
--- a/pypy/module/pypyjit/test_pypy_c/test_weakref.py
+++ b/pypy/module/pypyjit/test_pypy_c/test_weakref.py
@@ -28,10 +28,10 @@
         p65 = getfield_gc_r(p14, descr=<FieldP .+inst_map \d+>)
         guard_value(p65, ConstPtr(ptr45), descr=...)
         p66 = getfield_gc_r(p14, descr=<FieldP .+inst__value0 \d+>)
-        guard_nonnull_class(p66, ..., descr=...)
+        guard_nonnull(p66, descr=...)
         p67 = force_token()
         setfield_gc(p0, p67, descr=<FieldP 
pypy.interpreter.pyframe.PyFrame.vable_token \d+>)
-        p68 = 
call_may_force_r(ConstClass(WeakrefLifelineWithCallbacks.make_weakref_with_callback),
 p66, ConstPtr(ptr50), p14, ConstPtr(ptr51), descr=<Callr \d rrrr EF=7>)
+        p68 = 
call_may_force_r(ConstClass(WeakrefLifeline.make_weakref_with_callback), p66, 
ConstPtr(ptr50), p14, ConstPtr(ptr51), descr=<Callr \d rrrr EF=7>)
         guard_not_forced(descr=...)
         guard_no_exception(descr=...)
         guard_nonnull_class(p68, ..., descr=...)
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to