[pypy-svn] r18487 - pypy/dist/pypy/translator/c

tismer at codespeak.net tismer at codespeak.net
Wed Oct 12 17:22:42 CEST 2005


Author: tismer
Date: Wed Oct 12 17:22:41 2005
New Revision: 18487

Modified:
   pypy/dist/pypy/translator/c/genc.py
Log:
disabled splitting for small files,again (sorry about the check-in)
XXX find out whether we are standalone and use this as criteria

Modified: pypy/dist/pypy/translator/c/genc.py
==============================================================================
--- pypy/dist/pypy/translator/c/genc.py	(original)
+++ pypy/dist/pypy/translator/c/genc.py	Wed Oct 12 17:22:41 2005
@@ -158,7 +158,7 @@
                 funcnodes.append(node)
             else:
                 othernodes.append(node)
-        if 1 or len(funcnodes) >= SPLIT_CRITERIA:##!!
+        if len(funcnodes) >= SPLIT_CRITERIA:
             self.one_source_file = False
         self.funcnodes = funcnodes
         self.othernodes = othernodes



More information about the Pypy-commit mailing list