[pypy-svn] r42601 - pypy/dist/pypy/translator
antocuni at codespeak.net
antocuni at codespeak.net
Wed May 2 23:56:39 CEST 2007
Author: antocuni
Date: Wed May 2 23:56:38 2007
New Revision: 42601
Modified:
pypy/dist/pypy/translator/driver.py
Log:
oops!
Modified: pypy/dist/pypy/translator/driver.py
==============================================================================
--- pypy/dist/pypy/translator/driver.py (original)
+++ pypy/dist/pypy/translator/driver.py Wed May 2 23:56:38 2007
@@ -289,13 +289,14 @@
raise Exception("stand-alone program entry point must return an "
"int (and not, e.g., None or always raise an "
"exception).")
+ annotator.simplify()
return s
else:
assert self.libdef is not None
for func, inputtypes in self.libdef.functions:
annotator.build_types(func, inputtypes)
self.sanity_check_annotation()
- annotator.simplify()
+ annotator.simplify()
#
task_annotate = taskdef(task_annotate, [], "Annotating&simplifying")
More information about the pypy-svn
mailing list