Author: Armin Rigo <ar...@tunes.org> Branch: concurrent-marksweep Changeset: r47937:788fb4094a80 Date: 2011-10-11 15:40 +0200 http://bitbucket.org/pypy/pypy/changeset/788fb4094a80/
Log: Fix. diff --git a/pypy/translator/c/genc.py b/pypy/translator/c/genc.py --- a/pypy/translator/c/genc.py +++ b/pypy/translator/c/genc.py @@ -462,7 +462,9 @@ s_result = annmodel.SomeInteger() graph = mix.getgraph(entrypoint_wrapper, args_s, s_result) mix.finish() - return getfunctionptr(graph) + fn = getfunctionptr(graph) + self._entrypoint_wrapper = fn + return fn def cmdexec(self, args='', env=None, err=False, expect_crash=False): assert self._compiled _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit