Author: Armin Rigo <[email protected]>
Branch: jit-counter
Changeset: r67787:15a55bcf9518
Date: 2013-10-31 19:05 +0100
http://bitbucket.org/pypy/pypy/changeset/15a55bcf9518/
Log: Oups.
diff --git a/rpython/memory/gctransform/framework.py
b/rpython/memory/gctransform/framework.py
--- a/rpython/memory/gctransform/framework.py
+++ b/rpython/memory/gctransform/framework.py
@@ -143,7 +143,7 @@
if hasattr(translator, '_jit2gc'):
self.layoutbuilder = translator._jit2gc['layoutbuilder']
finished_minor_collection = translator._jit2gc.get(
- 'finished_minor_collection', None)
+ 'invoke_after_minor_collection', None)
else:
self.layoutbuilder = TransformerLayoutBuilder(translator, GCClass)
finished_minor_collection = None
diff --git a/rpython/memory/test/test_transformed_gc.py
b/rpython/memory/test/test_transformed_gc.py
--- a/rpython/memory/test/test_transformed_gc.py
+++ b/rpython/memory/test/test_transformed_gc.py
@@ -746,7 +746,7 @@
def ensure_layoutbuilder(cls, translator):
jit2gc = getattr(translator, '_jit2gc', None)
if jit2gc:
- assert 'finished_minor_collection' in jit2gc
+ assert 'invoke_after_minor_collection' in jit2gc
return jit2gc['layoutbuilder']
marker = cls.marker
GCClass = cls.gcpolicy.transformerclass.GCClass
@@ -757,7 +757,7 @@
marker[0] += 1
translator._jit2gc = {
'layoutbuilder': layoutbuilder,
- 'finished_minor_collection': seeme,
+ 'invoke_after_minor_collection': seeme,
}
return layoutbuilder
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit