[pypy-svn] r65587 - pypy/branch/pyjitpl5-experiments/pypy/jit/metainterp/test

fijal at codespeak.net fijal at codespeak.net
Thu Jun 4 19:25:28 CEST 2009


Author: fijal
Date: Thu Jun  4 19:25:27 2009
New Revision: 65587

Modified:
   pypy/branch/pyjitpl5-experiments/pypy/jit/metainterp/test/test_vable_optimize.py
Log:
this is long gone by now


Modified: pypy/branch/pyjitpl5-experiments/pypy/jit/metainterp/test/test_vable_optimize.py
==============================================================================
--- pypy/branch/pyjitpl5-experiments/pypy/jit/metainterp/test/test_vable_optimize.py	(original)
+++ pypy/branch/pyjitpl5-experiments/pypy/jit/metainterp/test/test_vable_optimize.py	Thu Jun  4 19:25:27 2009
@@ -202,41 +202,6 @@
 
 # ____________________________________________________________
 
-if 0:
-  class D:
-    class SomeDescr(ListDescr):
-        def __init__(self):
-            pass
-    
-    locals().update(A.__dict__)
-    n2 = BoxPtr(lltype.cast_opaque_ptr(llmemory.GCREF, frame.inst_node))
-    v2 = BoxInt(13)
-    l = BoxPtr(lltype.cast_opaque_ptr(llmemory.GCREF, frame.inst_node))
-    inputargs = [fr]
-    ops = [
-        ResOperation('guard_nonvirtualized', [fr, ConstAddr(xy_vtable, cpu),
-                                              ConstInt(ofs_node)], None),
-        #
-        ResOperation('getfield_gc', [fr, ConstInt(ofs_l)], l),
-        ResOperation('guard_builtin', [l, SomeDescr()], None),
-        ResOperation('getitem', [None, l, ConstInt(0)], v2),
-        ResOperation('setitem', [None, l, ConstInt(0), v2], None),
-        ResOperation('jump', [fr], None),
-        ]
-    ops[1].vdesc = xy_desc
-
-def test_D_intersect_input_and_output():
-    py.test.skip("XXX")
-    spec = PerfectSpecializer(Loop(D.inputargs, D.ops))
-    spec.find_nodes()
-    spec.intersect_input_and_output()
-    assert spec.nodes[D.fr].escaped
-    assert spec.nodes[D.fr].virtualized
-    assert not spec.nodes[D.l].escaped
-    assert spec.nodes[D.l].expanded_fields.keys() == [0]
-
-# ____________________________________________________________
-
 class E:
     locals().update(A.__dict__)
     inputargs = [fr]



More information about the Pypy-commit mailing list