[pypy-svn] r44962 - pypy/branch/emptying-the-malloc-zoo-2/pypy/rpython/memory/gctransform/test

mwh at codespeak.net mwh at codespeak.net
Thu Jul 12 15:14:14 CEST 2007


Author: mwh
Date: Thu Jul 12 15:14:13 2007
New Revision: 44962

Modified:
   pypy/branch/emptying-the-malloc-zoo-2/pypy/rpython/memory/gctransform/test/test_refcounting.py
Log:
(mwh, pedronis)
cruft-- (in very small units)


Modified: pypy/branch/emptying-the-malloc-zoo-2/pypy/rpython/memory/gctransform/test/test_refcounting.py
==============================================================================
--- pypy/branch/emptying-the-malloc-zoo-2/pypy/rpython/memory/gctransform/test/test_refcounting.py	(original)
+++ pypy/branch/emptying-the-malloc-zoo-2/pypy/rpython/memory/gctransform/test/test_refcounting.py	Thu Jul 12 15:14:13 2007
@@ -5,16 +5,13 @@
 from pypy.translator.translator import TranslationContext, graphof
 from pypy import conftest
 
-class RefcountingGcPolicy2(RefcountingGcPolicy):
-    transformerclass = RefcountingGCTransformer
-
 def llinterpreter_for_refcounted_graph(f, args_s):
     from pypy.rpython.llinterp import LLInterpreter
     from pypy.translator.c.genc import CStandaloneBuilder
     from pypy.translator.c import gc
 
     t = rtype(f, args_s)
-    cbuild = CStandaloneBuilder(t, f, t.config, gcpolicy=RefcountingGcPolicy2)
+    cbuild = CStandaloneBuilder(t, f, t.config, gcpolicy=RefcountingGcPolicy)
     db = cbuild.generate_graphs_for_llinterp()
     graph = cbuild.getentrypointptr()._obj.graph
     llinterp = LLInterpreter(t.rtyper)



More information about the Pypy-commit mailing list