@@ -59,8 +59,6 @@ debugging_opts!(
59
59
asm_comments,
60
60
no_verify,
61
61
borrowck_stats,
62
- borrowck_note_pure,
63
- borrowck_note_loan,
64
62
no_landing_pads,
65
63
debug_llvm,
66
64
count_type_sizes,
@@ -70,8 +68,6 @@ debugging_opts!(
70
68
debug_info,
71
69
extra_debug_info,
72
70
print_link_args,
73
- no_debug_borrows,
74
- lint_llvm,
75
71
print_llvm_passes,
76
72
no_vectorize_loops,
77
73
no_vectorize_slp,
@@ -96,10 +92,6 @@ pub fn debugging_opts_map() -> ~[(&'static str, &'static str, uint)] {
96
92
( "asm-comments" , "generate comments into the assembly (may change behavior)" , asm_comments) ,
97
93
( "no-verify" , "skip LLVM verification" , no_verify) ,
98
94
( "borrowck-stats" , "gather borrowck statistics" , borrowck_stats) ,
99
- ( "borrowck-note-pure" , "note where purity is req'd" ,
100
- borrowck_note_pure) ,
101
- ( "borrowck-note-loan" , "note where loans are req'd" ,
102
- borrowck_note_loan) ,
103
95
( "no-landing-pads" , "omit landing pads for unwinding" ,
104
96
no_landing_pads) ,
105
97
( "debug-llvm" , "enable debug output from LLVM" , debug_llvm) ,
@@ -112,12 +104,6 @@ pub fn debugging_opts_map() -> ~[(&'static str, &'static str, uint)] {
112
104
( "extra-debug-info" , "Extra debugging info (experimental)" ,
113
105
extra_debug_info) ,
114
106
( "debug-info" , "Produce debug info (experimental)" , debug_info) ,
115
- ( "no-debug-borrows" ,
116
- "do not show where borrow checks fail" ,
117
- no_debug_borrows) ,
118
- ( "lint-llvm" ,
119
- "Run the LLVM lint pass on the pre-optimization IR" ,
120
- lint_llvm) ,
121
107
( "print-llvm-passes" ,
122
108
"Prints the llvm optimization passes being run" ,
123
109
print_llvm_passes) ,
@@ -329,17 +315,7 @@ impl Session_ {
329
315
pub fn meta_stats ( & self ) -> bool { self . debugging_opt ( meta_stats) }
330
316
pub fn asm_comments ( & self ) -> bool { self . debugging_opt ( asm_comments) }
331
317
pub fn no_verify ( & self ) -> bool { self . debugging_opt ( no_verify) }
332
- pub fn lint_llvm ( & self ) -> bool { self . debugging_opt ( lint_llvm) }
333
318
pub fn borrowck_stats ( & self ) -> bool { self . debugging_opt ( borrowck_stats) }
334
- pub fn borrowck_note_pure ( & self ) -> bool {
335
- self . debugging_opt ( borrowck_note_pure)
336
- }
337
- pub fn borrowck_note_loan ( & self ) -> bool {
338
- self . debugging_opt ( borrowck_note_loan)
339
- }
340
- pub fn debug_borrows ( & self ) -> bool {
341
- self . opts . optimize == No && !self . debugging_opt ( no_debug_borrows)
342
- }
343
319
pub fn print_llvm_passes ( & self ) -> bool {
344
320
self . debugging_opt ( print_llvm_passes)
345
321
}
0 commit comments