[pypy-svn] r23064 - pypy/branch/genc-gc-refactoring

cfbolz at codespeak.net cfbolz at codespeak.net
Mon Feb 6 11:45:02 CET 2006


Author: cfbolz
Date: Mon Feb  6 11:45:01 2006
New Revision: 23064

Modified:
   pypy/branch/genc-gc-refactoring/database.py
Log:
pass the translator into the transformer's __init__


Modified: pypy/branch/genc-gc-refactoring/database.py
==============================================================================
--- pypy/branch/genc-gc-refactoring/database.py	(original)
+++ pypy/branch/genc-gc-refactoring/database.py	Mon Feb  6 11:45:01 2006
@@ -34,7 +34,7 @@
             from pypy.translator.c import gc
             gcpolicy = gc.RefcountingGcPolicy
         self.gcpolicy = gcpolicy(self, thread_enabled)
-        self.gctransformer = gcpolicy.transformerclass()
+        self.gctransformer = gcpolicy.transformerclass(translator)
         self.completed = False
 
     def gettypedefnode(self, T, varlength=1):



More information about the Pypy-commit mailing list