[pypy-commit] pypy optresult: those asserts are no longer valid due to parent_descr
fijal
noreply at buildbot.pypy.org
Wed Jun 3 16:07:46 CEST 2015
Author: Maciej Fijalkowski <fijall at gmail.com>
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):
More information about the pypy-commit
mailing list