[pypy-svn] r16409 - pypy/dist/pypy/translator/c
arigo at codespeak.net
arigo at codespeak.net
Wed Aug 24 18:20:29 CEST 2005
Author: arigo
Date: Wed Aug 24 18:20:28 2005
New Revision: 16409
Modified:
pypy/dist/pypy/translator/c/genc.py
Log:
(cfbolz, arigo)
Added the GC-policy-specific header lines to the stand-alone source code too.
Modified: pypy/dist/pypy/translator/c/genc.py
==============================================================================
--- pypy/dist/pypy/translator/c/genc.py (original)
+++ pypy/dist/pypy/translator/c/genc.py Wed Aug 24 18:20:28 2005
@@ -204,8 +204,15 @@
defines['PYPY_STANDALONE'] = entrypointname
for key, value in defines.items():
print >> f, '#define %s %s' % (key, value)
+
+ for line in database.gcpolicy.pre_pre_gc_code():
+ print >> f, line
+
print >> f, '#include "src/g_prerequisite.h"'
+ for line in database.gcpolicy.pre_gc_code():
+ print >> f, line
+
preimplementationlines = list(
pre_include_code_lines(database, database.translator.rtyper))
More information about the Pypy-commit
mailing list