[pypy-commit] pypy ClassRepr: setup rootclass_repr immediately

rlamy noreply at buildbot.pypy.org
Mon Oct 13 16:52:41 CEST 2014


Author: Ronan Lamy <ronan.lamy at gmail.com>
Branch: ClassRepr
Changeset: r73918:e60a3bfa2a9d
Date: 2014-10-13 15:48 +0100
http://bitbucket.org/pypy/pypy/changeset/e60a3bfa2a9d/

Log:	setup rootclass_repr immediately

diff --git a/rpython/rtyper/rtyper.py b/rpython/rtyper/rtyper.py
--- a/rpython/rtyper/rtyper.py
+++ b/rpython/rtyper/rtyper.py
@@ -46,7 +46,7 @@
         self._dict_traits = {}
         self.class_reprs = {}
         self.rootclass_repr = RootClassRepr(self)
-        self.add_pendingsetup(self.rootclass_repr)
+        self.rootclass_repr.setup()
         self.instance_reprs = {}
         self.type_for_typeptr = {}
         self.pbc_reprs = {}


More information about the pypy-commit mailing list