Author: Maciej Fijalkowski <fij...@gmail.com> Branch: gc-minimark-pinning Changeset: r54383:107ee52d2e02 Date: 2012-04-16 10:02 +0200 http://bitbucket.org/pypy/pypy/changeset/107ee52d2e02/
Log: fix translation diff --git a/pypy/translator/c/gc.py b/pypy/translator/c/gc.py --- a/pypy/translator/c/gc.py +++ b/pypy/translator/c/gc.py @@ -8,6 +8,7 @@ from pypy.rpython.memory.gctransform import \ refcounting, boehm, framework, asmgcroot from pypy.rpython.lltypesystem import lltype, llmemory +from pypy.rpython.memory import gctypelayout from pypy.translator.tool.cbuild import ExternalCompilationInfo class BasicGcPolicy(object): @@ -340,7 +341,7 @@ return framework.WEAKREF def convert_weakref_to(self, ptarget): - return framework.convert_weakref_to(ptarget) + return gctypelayout.convert_weakref_to(ptarget) def OP_GC_RELOAD_POSSIBLY_MOVED(self, funcgen, op): if isinstance(op.args[1], Constant): _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit