Author: Hakan Ardo <ha...@debian.org> Branch: jit-targets Changeset: r48782:d1f3913a23d1 Date: 2011-11-05 14:37 +0100 http://bitbucket.org/pypy/pypy/changeset/d1f3913a23d1/
Log: hg merge default diff --git a/pypy/jit/metainterp/optimizeopt/vstring.py b/pypy/jit/metainterp/optimizeopt/vstring.py --- a/pypy/jit/metainterp/optimizeopt/vstring.py +++ b/pypy/jit/metainterp/optimizeopt/vstring.py @@ -207,6 +207,7 @@ class VStringConcatValue(VAbstractStringValue): """The concatenation of two other strings.""" + _attrs_ = ('left', 'right', 'lengthbox') lengthbox = None # or the computed length diff --git a/pypy/jit/metainterp/test/test_virtualstate.py b/pypy/jit/metainterp/test/test_virtualstate.py --- a/pypy/jit/metainterp/test/test_virtualstate.py +++ b/pypy/jit/metainterp/test/test_virtualstate.py @@ -847,7 +847,8 @@ i5 = arraylen_gc(p2, descr=arraydescr) i6 = int_ge(i5, 1) guard_true(i6) [] - jump(p0, p1, p2) + p3 = getarrayitem_gc(p2, 0, descr=arraydescr) + jump(p0, p1, p3, p2) """ self.optimize_bridge(loop, bridge, expected, p0=self.myptr) _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit