[pypy-svn] r56941 - pypy/branch/opt-option/pypy/config
arigo at codespeak.net
arigo at codespeak.net
Sun Aug 3 15:27:40 CEST 2008
Author: arigo
Date: Sun Aug 3 15:27:40 2008
New Revision: 56941
Modified:
pypy/branch/opt-option/pypy/config/pypyoption.py
Log:
A bit messy. If the mutual exclusion between withsmallint and
withprebuiltint is expressed in *that* way instead of *this* way, then
we can say "translate.py --opt=mem targetpypysandalone --withsmallint".
Modified: pypy/branch/opt-option/pypy/config/pypyoption.py
==============================================================================
--- pypy/branch/opt-option/pypy/config/pypyoption.py (original)
+++ pypy/branch/opt-option/pypy/config/pypyoption.py Sun Aug 3 15:27:40 2008
@@ -157,11 +157,11 @@
BoolOption("withsmallint", "use tagged integers",
default=False,
- requires=[("translation.gc", "boehm")]),
+ requires=[("translation.gc", "boehm"),
+ ("objspace.std.withprebuiltint", False)]),
BoolOption("withprebuiltint", "prebuild commonly used int objects",
- default=False,
- requires=[("objspace.std.withsmallint", False)]),
+ default=False),
IntOption("prebuiltintfrom", "lowest integer which is prebuilt",
default=-5, cmdline="--prebuiltintfrom"),
More information about the Pypy-commit
mailing list