[pypy-svn] r10936 - pypy/dist/goal
arigo at codespeak.net
arigo at codespeak.net
Wed Apr 20 19:21:45 CEST 2005
Author: arigo
Date: Wed Apr 20 19:21:45 2005
New Revision: 10936
Modified:
pypy/dist/goal/translate_pypy.py
Log:
(Sorry, incomplete log message in the previous check-in.)
This adds options -no-s and -no-t to translate_pypy.py.
Modified: pypy/dist/goal/translate_pypy.py
==============================================================================
--- pypy/dist/goal/translate_pypy.py (original)
+++ pypy/dist/goal/translate_pypy.py Wed Apr 20 19:21:45 2005
@@ -13,7 +13,8 @@
defaults to targetpypy
-text Don't start the Pygame viewer
-no-a Don't infer annotations, just translate everything
- -no-s Don't specialize the graph operations with the C typer
+ -no-s Don't simplify the graph after annotation
+ -no-t Don't type-specialize the graph operations with the C typer
-no-c Don't generate the C code
-c Generate the C code, but don't compile it
-o Generate and compile the C code, but don't run it
@@ -56,8 +57,9 @@
run_async_server()
if not options['-no-a']:
a = t.annotate(inputtypes, overrides=pypy_overrides)
- a.simplify()
if not options['-no-s']:
+ a.simplify()
+ if not options['-no-t']:
a.specialize()
t.frozen = True # cannot freeze if we don't have annotations
if not options['-no-mark-some-objects']:
@@ -167,6 +169,7 @@
'-no-mark-some-objects': False,
'-no-a': False,
'-no-s': False,
+ '-no-t': False,
'-tcc': False,
'-no-d': False,
}
More information about the Pypy-commit
mailing list