Skip to content

Commit 0f6248d

Browse files
committed
---
yaml --- r: 148473 b: refs/heads/try2 c: 57f8073 h: refs/heads/master i: 148471: d9fae4a v: v3
1 parent 0797e0a commit 0f6248d

File tree

3 files changed

+1
-26
lines changed

3 files changed

+1
-26
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
55
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: eca980be57c62165244cc7b950c3b066571ff3ba
8+
refs/heads/try2: 57f8073b5eef51e7af031be081786161dea53cb6
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try2/src/librustc/back/link.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,6 @@ pub mod write {
156156
pass.with_c_str(|s| llvm::LLVMRustAddPass(fpm, s))
157157
};
158158
if !sess.no_verify() { assert!(addpass("verify")); }
159-
if sess.lint_llvm() { assert!(addpass("lint")); }
160159

161160
if !sess.no_prepopulate_passes() {
162161
llvm::LLVMRustAddAnalysisPasses(tm, fpm, llmod);

branches/try2/src/librustc/driver/session.rs

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,6 @@ debugging_opts!(
5959
asm_comments,
6060
no_verify,
6161
borrowck_stats,
62-
borrowck_note_pure,
63-
borrowck_note_loan,
6462
no_landing_pads,
6563
debug_llvm,
6664
count_type_sizes,
@@ -70,8 +68,6 @@ debugging_opts!(
7068
debug_info,
7169
extra_debug_info,
7270
print_link_args,
73-
no_debug_borrows,
74-
lint_llvm,
7571
print_llvm_passes,
7672
no_vectorize_loops,
7773
no_vectorize_slp,
@@ -96,10 +92,6 @@ pub fn debugging_opts_map() -> ~[(&'static str, &'static str, uint)] {
9692
("asm-comments", "generate comments into the assembly (may change behavior)", asm_comments),
9793
("no-verify", "skip LLVM verification", no_verify),
9894
("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),
10395
("no-landing-pads", "omit landing pads for unwinding",
10496
no_landing_pads),
10597
("debug-llvm", "enable debug output from LLVM", debug_llvm),
@@ -112,12 +104,6 @@ pub fn debugging_opts_map() -> ~[(&'static str, &'static str, uint)] {
112104
("extra-debug-info", "Extra debugging info (experimental)",
113105
extra_debug_info),
114106
("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),
121107
("print-llvm-passes",
122108
"Prints the llvm optimization passes being run",
123109
print_llvm_passes),
@@ -329,17 +315,7 @@ impl Session_ {
329315
pub fn meta_stats(&self) -> bool { self.debugging_opt(meta_stats) }
330316
pub fn asm_comments(&self) -> bool { self.debugging_opt(asm_comments) }
331317
pub fn no_verify(&self) -> bool { self.debugging_opt(no_verify) }
332-
pub fn lint_llvm(&self) -> bool { self.debugging_opt(lint_llvm) }
333318
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-
}
343319
pub fn print_llvm_passes(&self) -> bool {
344320
self.debugging_opt(print_llvm_passes)
345321
}

0 commit comments

Comments
 (0)