Author: Maciej Fijalkowski <[email protected]>
Branch: optresult
Changeset: r77824:48f99f98e4dc
Date: 2015-06-03 16:07 +0200
http://bitbucket.org/pypy/pypy/changeset/48f99f98e4dc/

Log:    those asserts are no longer valid due to parent_descr

diff --git a/rpython/jit/backend/llsupport/gc.py 
b/rpython/jit/backend/llsupport/gc.py
--- a/rpython/jit/backend/llsupport/gc.py
+++ b/rpython/jit/backend/llsupport/gc.py
@@ -640,8 +640,6 @@
             return
         if self.layoutbuilder is not None:
             type_id = self.layoutbuilder.get_type_id(S)
-            assert not self.layoutbuilder.is_weakref_type(S)
-            assert not self.layoutbuilder.has_finalizer(S)
             descr.tid = llop.combine_ushort(lltype.Signed, type_id, 0)
 
     def init_array_descr(self, A, descr):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to