[pypy-svn] pypy jit-longlong: Move the "requires" to withsmalllong instead of withsmallint.

arigo commits-noreply at bitbucket.org
Tue Jan 25 18:00:47 CET 2011


Author: Armin Rigo <arigo at tunes.org>
Branch: jit-longlong
Changeset: r41317:8bf078f84a2c
Date: 2011-01-24 19:15 +0100
http://bitbucket.org/pypy/pypy/changeset/8bf078f84a2c/

Log:	Move the "requires" to withsmalllong instead of withsmallint.

diff --git a/pypy/config/pypyoption.py b/pypy/config/pypyoption.py
--- a/pypy/config/pypyoption.py
+++ b/pypy/config/pypyoption.py
@@ -202,9 +202,7 @@
         BoolOption("withsmallint", "use tagged integers",
                    default=False,
                    requires=[("objspace.std.withprebuiltint", False),
-                             ("translation.taggedpointers", True),
-                             ("objspace.std.withsmalllong", False)]),
-                             #  ^^^ because of missing delegate_xx2yy
+                             ("translation.taggedpointers", True)]),
 
         BoolOption("withprebuiltint", "prebuild commonly used int objects",
                    default=False),
@@ -216,7 +214,9 @@
                   default=100, cmdline="--prebuiltintto"),
 
         BoolOption("withsmalllong", "use a version of 'long' in a C long long",
-                   default=False),
+                   default=False,
+                   requires=[("objspace.std.withsmallint", False)]),
+                             #  ^^^ because of missing delegate_xx2yy
 
         BoolOption("withstrjoin", "use strings optimized for addition",
                    default=False),


More information about the Pypy-commit mailing list