Maciej Fijalkowski  committed eb30095

fix those tests, they're still fine

  • Participants
  • Parent commits a08cae4
  • Branches result-in-resops

Comments (0)

Files changed (1)

File pypy/jit/metainterp/optimizeopt/test/

         p1 = new_with_vtable(ConstClass(node_vtable))
         p1sub = new_with_vtable(ConstClass(node_vtable2))
-        setfield_gc(p1, i1, descr=valuedescr)
         setfield_gc(p1sub, i1, descr=valuedescr)
         setfield_gc(p1, p1sub, descr=nextdescr)
+        setfield_gc(p1, i1, descr=valuedescr)
         jump(i1, p1, p2)
         # The same as test_p123_simple, but with a virtual containing another
         p3sub = getfield_gc_r(p3, descr=nextdescr)
         i3 = getfield_gc_i(p3sub, descr=valuedescr)
-        p1 = new_with_vtable(ConstClass(node_vtable))
         p2sub = new_with_vtable(ConstClass(node_vtable2))
         setfield_gc(p2sub, i1, descr=valuedescr)
         setfield_gc(p2, p2sub, descr=nextdescr)
+        p1 = new_with_vtable(ConstClass(node_vtable))
         jump(i1, p1, p2)
         # The same as test_p123_simple, but in the end the "old" p2 contains