[pypy-commit] pypy kill-ootype: Remove ootype translation options
rlamy
noreply at buildbot.pypy.org
Tue Jul 9 03:00:43 CEST 2013
Author: Ronan Lamy <ronan.lamy at gmail.com>
Branch: kill-ootype
Changeset: r65278:690e016f571c
Date: 2013-07-08 00:56 +0200
http://bitbucket.org/pypy/pypy/changeset/690e016f571c/
Log: Remove ootype translation options
diff --git a/rpython/config/translationoption.py b/rpython/config/translationoption.py
--- a/rpython/config/translationoption.py
+++ b/rpython/config/translationoption.py
@@ -33,20 +33,11 @@
default=False, cmdline="--continuation",
requires=[("translation.type_system", "lltype")]),
ChoiceOption("type_system", "Type system to use when RTyping",
- ["lltype", "ootype"], cmdline=None, default="lltype",
- requires={
- "ootype": [
- ("translation.backendopt.constfold", False),
- ("translation.backendopt.clever_malloc_removal", False),
- ("translation.gc", "boehm"), # it's not really used, but some jit code expects a value here
- ]
- }),
+ ["lltype"], cmdline=None, default="lltype"),
ChoiceOption("backend", "Backend to use for code generation",
- ["c", "cli", "jvm"], default="c",
+ ["c"], default="c",
requires={
"c": [("translation.type_system", "lltype")],
- "cli": [("translation.type_system", "ootype")],
- "jvm": [("translation.type_system", "ootype")],
},
cmdline="-b --backend"),
@@ -188,11 +179,6 @@
"If true, makes an lldebug build", default=False,
cmdline="--lldebug"),
- # options for ootype
- OptionDescription("ootype", "Object Oriented Typesystem options", [
- BoolOption("mangle", "Mangle names of class members", default=True),
- ]),
-
OptionDescription("backendopt", "Backend Optimization Options", [
# control inlining
BoolOption("inline", "Do basic inlining and malloc removal",
@@ -270,11 +256,6 @@
('translation.backendopt.constfold', False)])
]),
- OptionDescription("cli", "GenCLI options", [
- BoolOption("trace_calls", "Trace function calls", default=False,
- cmdline="--cli-trace-calls"),
- BoolOption("exception_transformer", "Use exception transformer", default=False),
- ]),
ChoiceOption("platform",
"target platform", ['host'] + PLATFORMS, default='host',
cmdline='--platform',
More information about the pypy-commit
mailing list