Skip to content

Commit 50afa4e

Browse files
committed
---
yaml --- r: 11857 b: refs/heads/master c: 0e5da37 h: refs/heads/master i: 11855: a450f60 v: v3
1 parent de4c3e2 commit 50afa4e

File tree

5 files changed

+2
-8
lines changed

5 files changed

+2
-8
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: c67679ea0331d2058c8cb3cd68700bd5f515a2d5
2+
refs/heads/master: 0e5da379dd1a90d469fda9b771989d74924b0474
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
55
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf

trunk/src/rustc/driver/driver.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,6 @@ fn build_session_options(match: getopts::match,
366366
if opt_present(match, "no-lint-ctypes") {
367367
lint_opts += [(lint::ctypes, false)];
368368
}
369-
let monomorphize = opt_present(match, "monomorphize");
370369

371370
let output_type =
372371
if parse_only || no_trans {
@@ -445,7 +444,6 @@ fn build_session_options(match: getopts::match,
445444
parse_only: parse_only,
446445
no_trans: no_trans,
447446
no_asm_comments: no_asm_comments,
448-
monomorphize: monomorphize,
449447
warn_unused_imports: warn_unused_imports,
450448
enforce_mut_vars: enforce_mut_vars};
451449
ret sopts;
@@ -520,7 +518,6 @@ fn opts() -> [getopts::opt] {
520518
optflag("time-passes"), optflag("time-llvm-passes"),
521519
optflag("no-verify"),
522520
optflag("no-lint-ctypes"),
523-
optflag("monomorphize"),
524521
optmulti("cfg"), optflag("test"),
525522
optflag("lib"), optflag("bin"), optflag("static"), optflag("gc"),
526523
optflag("no-asm-comments"),

trunk/src/rustc/driver/session.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ type options =
4545
parse_only: bool,
4646
no_trans: bool,
4747
no_asm_comments: bool,
48-
monomorphize: bool,
4948
warn_unused_imports: bool,
5049
enforce_mut_vars: bool};
5150

trunk/src/rustc/middle/trans/base.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2229,8 +2229,7 @@ fn lval_static_fn(bcx: block, fn_id: ast::def_id, id: ast::node_id,
22292229
// The awkwardness below mostly stems from the fact that we're mixing
22302230
// monomorphized and non-monomorphized functions at the moment. If
22312231
// monomorphizing becomes the only approach, this'll be much simpler.
2232-
if ccx.sess.opts.monomorphize &&
2233-
(option::is_some(substs) || tys.len() > 0u) &&
2232+
if (option::is_some(substs) || tys.len() > 0u) &&
22342233
fn_id.crate == ast::local_crate &&
22352234
!vec::any(tys, {|t| ty::type_has_params(t)}) {
22362235
let mono = alt substs {

trunk/src/rustdoc/astsrv.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,6 @@ fn build_session() -> (session::session, @mutable bool) {
145145
parse_only: false,
146146
no_trans: false,
147147
no_asm_comments: false,
148-
monomorphize: false,
149148
warn_unused_imports: false,
150149
enforce_mut_vars: false
151150
};

0 commit comments

Comments
 (0)