[pypy-svn] r28212 - pypy/dist/pypy/rpython/memory
mwh at codespeak.net
mwh at codespeak.net
Sun Jun 4 10:59:28 CEST 2006
Author: mwh
Date: Sun Jun 4 10:59:27 2006
New Revision: 28212
Modified:
pypy/dist/pypy/rpython/memory/gctransform.py
Log:
translator can be None in gctransformer.__init__ -- breaks test_database. grr!
Modified: pypy/dist/pypy/rpython/memory/gctransform.py
==============================================================================
--- pypy/dist/pypy/rpython/memory/gctransform.py (original)
+++ pypy/dist/pypy/rpython/memory/gctransform.py Sun Jun 4 10:59:27 2006
@@ -43,7 +43,7 @@
else:
self.mixlevelannotator = None
self.inline = inline
- if inline:
+ if translator and inline:
self.lltype_to_classdef = translator.rtyper.lltype_to_classdef_mapping()
self.graphs_to_inline = {}
if self.MinimalGCTransformer:
More information about the Pypy-commit
mailing list