[pypy-svn] r27510 - pypy/dist/pypy/rpython/memory
mwh at codespeak.net
mwh at codespeak.net
Sat May 20 17:38:29 CEST 2006
Author: mwh
Date: Sat May 20 17:38:27 2006
New Revision: 27510
Modified:
pypy/dist/pypy/rpython/memory/gctransform.py
Log:
couple of changes to make gc_x_become to make it more similar to gc__collect;
doesn't help though
Modified: pypy/dist/pypy/rpython/memory/gctransform.py
==============================================================================
--- pypy/dist/pypy/rpython/memory/gctransform.py (original)
+++ pypy/dist/pypy/rpython/memory/gctransform.py Sat May 20 17:38:27 2006
@@ -735,7 +735,8 @@
class CollectAnalyzer(graphanalyze.GraphAnalyzer):
def operation_is_true(self, op):
- return op.opname in ("malloc", "malloc_varsize", "gc__collect")
+ return op.opname in ("malloc", "malloc_varsize", "gc__collect",
+ "gc_x_become")
class FrameworkGCTransformer(GCTransformer):
use_stackless = False
@@ -906,8 +907,7 @@
self.x_become_ptr = getfn(
GCClass.x_become.im_func,
[s_gc, annmodel.SomeAddress(), annmodel.SomeAddress()],
- annmodel.s_None,
- minimal_transform = False)
+ annmodel.s_None)
annhelper.finish() # at this point, annotate all mix-level helpers
annhelper.backend_optimize()
More information about the Pypy-commit
mailing list