Author: Ronan Lamy <ronan.l...@gmail.com> Branch: exctrans Changeset: r81593:405bc736b37f Date: 2016-01-05 17:39 +0100 http://bitbucket.org/pypy/pypy/changeset/405bc736b37f/
Log: Call db.prepare_inline_helpers() from a slightly more logical location diff --git a/rpython/translator/c/genc.py b/rpython/translator/c/genc.py --- a/rpython/translator/c/genc.py +++ b/rpython/translator/c/genc.py @@ -213,6 +213,7 @@ if db is None: db = self.build_database() + db.prepare_inline_helpers() pf = self.getentrypointptr() if self.modulename is None: self.modulename = uniquemodulename('testing') @@ -848,7 +849,6 @@ # sg = SourceGenerator(database) sg.set_strategy(targetdir, split) - database.prepare_inline_helpers() sg.gen_readable_parts_of_source(f) headers_to_precompile = sg.headers_to_precompile[:] headers_to_precompile.insert(0, incfilename) _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit