|
1 |
| -// Copyright 2012 The Rust Project Developers. See the COPYRIGHT |
| 1 | +// Copyright 2012-2013 The Rust Project Developers. See the COPYRIGHT |
2 | 2 | // file at the top-level directory of this distribution and at
|
3 | 3 | // http://rust-lang.org/COPYRIGHT.
|
4 | 4 | //
|
@@ -74,12 +74,11 @@ pub static statik: uint = 1 << 21;
|
74 | 74 | pub static print_link_args: uint = 1 << 22;
|
75 | 75 | pub static no_debug_borrows: uint = 1 << 23;
|
76 | 76 | pub static lint_llvm: uint = 1 << 24;
|
77 |
| -pub static once_fns: uint = 1 << 25; |
78 |
| -pub static print_llvm_passes: uint = 1 << 26; |
79 |
| -pub static no_vectorize_loops: uint = 1 << 27; |
80 |
| -pub static no_vectorize_slp: uint = 1 << 28; |
81 |
| -pub static no_prepopulate_passes: uint = 1 << 29; |
82 |
| -pub static use_softfp: uint = 1 << 30; |
| 77 | +pub static print_llvm_passes: uint = 1 << 25; |
| 78 | +pub static no_vectorize_loops: uint = 1 << 26; |
| 79 | +pub static no_vectorize_slp: uint = 1 << 27; |
| 80 | +pub static no_prepopulate_passes: uint = 1 << 28; |
| 81 | +pub static use_softfp: uint = 1 << 29; |
83 | 82 |
|
84 | 83 | pub fn debugging_opts_map() -> ~[(&'static str, &'static str, uint)] {
|
85 | 84 | ~[("verbose", "in general, enable more debug printouts", verbose),
|
@@ -118,9 +117,6 @@ pub fn debugging_opts_map() -> ~[(&'static str, &'static str, uint)] {
|
118 | 117 | ("lint-llvm",
|
119 | 118 | "Run the LLVM lint pass on the pre-optimization IR",
|
120 | 119 | lint_llvm),
|
121 |
| - ("once-fns", |
122 |
| - "Allow 'once fn' closures to deinitialize captured variables", |
123 |
| - once_fns), |
124 | 120 | ("print-llvm-passes",
|
125 | 121 | "Prints the llvm optimization passes being run",
|
126 | 122 | print_llvm_passes),
|
@@ -326,7 +322,6 @@ impl Session_ {
|
326 | 322 | pub fn debug_borrows(&self) -> bool {
|
327 | 323 | self.opts.optimize == No && !self.debugging_opt(no_debug_borrows)
|
328 | 324 | }
|
329 |
| - pub fn once_fns(&self) -> bool { self.debugging_opt(once_fns) } |
330 | 325 | pub fn print_llvm_passes(&self) -> bool {
|
331 | 326 | self.debugging_opt(print_llvm_passes)
|
332 | 327 | }
|
|
0 commit comments