Author: Armin Rigo <ar...@tunes.org> Branch: op_malloc_gc Changeset: r49528:211a72d5b8b8 Date: 2011-11-18 14:28 +0100 http://bitbucket.org/pypy/pypy/changeset/211a72d5b8b8/
Log: Plan which tests are still needed (and the corresponding code). diff --git a/pypy/jit/backend/llsupport/test/test_gc.py b/pypy/jit/backend/llsupport/test/test_gc.py --- a/pypy/jit/backend/llsupport/test/test_gc.py +++ b/pypy/jit/backend/llsupport/test/test_gc.py @@ -703,6 +703,28 @@ jump() """) + def test_rewrite_assembler_maximal_size(self): + xxx + + def test_rewrite_assembler_variable_size(self): + xxx + + def test_rewrite_assembler_new_with_vtable(self): + self.check_rewrite(""" + [p1] + p0 = new_with_vtable(descr=vdescr) + jump() + """, """ + [p1] + p0 = malloc_gc(%(vdescr.size)d) + setfield_gc(p0, 1234, descr=tiddescr) + ... + jump() + """) + + def test_rewrite_assembler_newstr_newunicode(self): + xxx + def test_rewrite_assembler_initialization_store(self): S = lltype.GcStruct('S', ('parent', OBJECT), ('x', lltype.Signed)) _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit