Remove partial DPS back-end

It won't be finished on the short term, and it's already bit-rotting
fast. We can fetch this from git's autumn annals if we need it.
This commit is contained in:
Marijn Haverbeke 2011-08-16 21:34:52 +02:00
parent 3db300b06e
commit 27169387fe
6 changed files with 12 additions and 823 deletions

View file

@ -278,7 +278,6 @@ options:
--sysroot <path> override the system root (default: rustc's directory)
--no-typestate don't run the typestate pass (unsafe!)
--test build test harness
--dps translate via destination-passing style (experimental)
--gc garbage collect shared data (experimental/temporary)
");
@ -384,7 +383,6 @@ fn build_session_options(binary: str, match: getopts::match, binary_dir: str)
};
let cfg = parse_cfgspecs(getopts::opt_strs(match, "cfg"));
let test = opt_present(match, "test");
let dps = opt_present(match, "dps");
let do_gc = opt_present(match, "gc");
let sopts: @session::options =
@{library: library,
@ -402,7 +400,6 @@ fn build_session_options(binary: str, match: getopts::match, binary_dir: str)
sysroot: sysroot,
cfg: cfg,
test: test,
dps: dps,
parse_only: parse_only,
no_trans: no_trans,
do_gc: do_gc};
@ -437,7 +434,7 @@ fn opts() -> [getopts::opt] {
optopt("sysroot"), optflag("stats"), optflag("time-passes"),
optflag("time-llvm-passes"), optflag("no-typestate"),
optflag("noverify"), optmulti("cfg"), optflag("test"),
optflag("lib"), optflag("static"), optflag("dps"), optflag("gc")];
optflag("lib"), optflag("static"), optflag("gc")];
}
fn main(args: vec[str]) {

View file

@ -41,7 +41,6 @@ type options =
sysroot: str,
cfg: ast::crate_cfg,
test: bool,
dps: bool,
parse_only: bool,
no_trans: bool,
do_gc: bool