Author: Maciej Fijalkowski <[email protected]>
Branch: 
Changeset: r44903:40eabf86dce3
Date: 2011-06-13 11:04 +0200
http://bitbucket.org/pypy/pypy/changeset/40eabf86dce3/

Log:    add tid also to SizeDescr to silence rtyper warning

diff --git a/pypy/jit/backend/llsupport/descr.py 
b/pypy/jit/backend/llsupport/descr.py
--- a/pypy/jit/backend/llsupport/descr.py
+++ b/pypy/jit/backend/llsupport/descr.py
@@ -46,6 +46,8 @@
     size = 0      # help translation
     is_immutable = False
 
+    tid = llop.combine_ushort(lltype.Signed, 0, 0)
+
     def __init__(self, size, count_fields_if_immut=-1):
         self.size = size
         self.count_fields_if_immut = count_fields_if_immut
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to