[pypy-commit] pypy dynamic-specialized-tuple: for now, promote this.

alex_gaynor noreply at buildbot.pypy.org
Tue Apr 24 18:07:37 CEST 2012


Author: Alex Gaynor <alex.gaynor at gmail.com>
Branch: dynamic-specialized-tuple
Changeset: r54726:47f74017d7e0
Date: 2012-04-24 17:45 +0200
http://bitbucket.org/pypy/pypy/changeset/47f74017d7e0/

Log:	for now, promote this.

diff --git a/pypy/objspace/std/tupletype.py b/pypy/objspace/std/tupletype.py
--- a/pypy/objspace/std/tupletype.py
+++ b/pypy/objspace/std/tupletype.py
@@ -101,6 +101,7 @@
         shape_chars[i] = get_char_from_obj(space, w_item)
 
     shape = space.str_w(space.new_interned_str("".join(shape_chars)))
+    jit.promote(shape)
     storage = UntypedStorage(shape)
     for i, w_item in enumerate(list_w):
         store_obj(space, storage, shape[i], i, w_item)


More information about the pypy-commit mailing list