[pypy-svn] r30661 - pypy/dist/pypy/translator/cli
antocuni at codespeak.net
antocuni at codespeak.net
Fri Jul 28 00:22:33 CEST 2006
Author: antocuni
Date: Fri Jul 28 00:22:32 2006
New Revision: 30661
Modified:
pypy/dist/pypy/translator/cli/ilgenerator.py
Log:
Overstimate .maxstack to be sure there is no overflow. Need to be
explicitly computed in the future.
Modified: pypy/dist/pypy/translator/cli/ilgenerator.py
==============================================================================
--- pypy/dist/pypy/translator/cli/ilgenerator.py (original)
+++ pypy/dist/pypy/translator/cli/ilgenerator.py Fri Jul 28 00:22:32 2006
@@ -95,6 +95,9 @@
if is_entrypoint:
self.code.writeline('.entrypoint')
+ self.code.writeline('.maxstack 32')
+
+
def end_function(self):
self.code.closeblock()
More information about the Pypy-commit
mailing list