Author: Alex Gaynor <[email protected]>
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)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to