Skip to content

Commit b3ca732

Browse files
committed
---
yaml --- r: 140470 b: refs/heads/try2 c: e235f6c h: refs/heads/master v: v3
1 parent aa0308e commit b3ca732

File tree

5 files changed

+4
-8
lines changed

5 files changed

+4
-8
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: 4dc62dfcf35bda8c8edf424c6c50f8584f554217
8+
refs/heads/try2: e235f6ca53bac14158a6320aab49f31bd8e8bbe0
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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -788,7 +788,7 @@ pub fn link_binary(sess: Session,
788788
};
789789
790790
debug!("output: %s", output.to_str());
791-
let mut cc_args = link_args(sess, obj_filename, out_filename, lm);
791+
let cc_args = link_args(sess, obj_filename, out_filename, lm);
792792
debug!("%s link args: %s", cc_prog, str::connect(cc_args, ~" "));
793793
// We run 'cc' here
794794
let prog = run::program_output(cc_prog, cc_args);

branches/try2/src/librustc/middle/trans/closure.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,6 @@ pub fn store_environment(bcx: block,
208208

209209
// allocate closure in the heap
210210
let Result {bcx: bcx, val: llbox} = allocate_cbox(bcx, sigil, cdata_ty);
211-
let mut temp_cleanups = ~[];
212211

213212
// cbox_ty has the form of a tuple: (a, b, c) we want a ptr to a
214213
// tuple. This could be a ptr in uniq or a box or on stack,
@@ -244,9 +243,6 @@ pub fn store_environment(bcx: block,
244243
}
245244

246245
}
247-
for vec::each(temp_cleanups) |cleanup| {
248-
revoke_clean(bcx, *cleanup);
249-
}
250246

251247
ClosureResult { llbox: llbox, cdata_ty: cdata_ty, bcx: bcx }
252248
}

branches/try2/src/librustc/middle/trans/reachable.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ pub fn find_reachable(crate_mod: &_mod, exp_map2: resolve::ExportMap2,
4242
tcx: ty::ctxt, method_map: typeck::method_map) -> map {
4343
let mut rmap = HashSet::new();
4444
{
45-
let mut cx = @mut ctx {
45+
let cx = @mut ctx {
4646
exp_map2: exp_map2,
4747
tcx: tcx,
4848
method_map: method_map,

branches/try2/src/librustc/middle/ty.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1950,7 +1950,7 @@ pub fn type_contents(cx: ctxt, ty: t) -> TypeContents {
19501950
19511951
let _i = indenter();
19521952
1953-
let mut result = match get(ty).sty {
1953+
let result = match get(ty).sty {
19541954
// Scalar and unique types are sendable, constant, and owned
19551955
ty_nil | ty_bot | ty_bool | ty_int(_) | ty_uint(_) | ty_float(_) |
19561956
ty_bare_fn(_) | ty_ptr(_) => {

0 commit comments

Comments
 (0)