Skip to content

Commit e15c02b

Browse files
committed
---
yaml --- r: 64112 b: refs/heads/snap-stage3 c: 2d3262c h: refs/heads/master v: v3
1 parent 6a4e41f commit e15c02b

File tree

9 files changed

+388
-276
lines changed

9 files changed

+388
-276
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 2d28d645422c1617be58c8ca7ad9a457264ca850
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 41efcdf2996f842394277298a2f8045c432ba169
4+
refs/heads/snap-stage3: 2d3262ca7b94b53178daa06fa72d5427584ae842
55
refs/heads/try: 7b78b52e602bb3ea8174f9b2006bff3315f03ef9
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/src/librustc/middle/astencode.rs

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ pub struct Maps {
5353
method_map: middle::typeck::method_map,
5454
vtable_map: middle::typeck::vtable_map,
5555
write_guard_map: middle::borrowck::write_guard_map,
56-
moves_map: middle::moves::MovesMap,
5756
capture_map: middle::moves::CaptureMap,
5857
}
5958

@@ -952,12 +951,6 @@ fn encode_side_tables_for_id(ecx: &e::EncodeContext,
952951
}
953952
}
954953

955-
if maps.moves_map.contains(&id) {
956-
do ebml_w.tag(c::tag_table_moves_map) |ebml_w| {
957-
ebml_w.id(id);
958-
}
959-
}
960-
961954
{
962955
let r = maps.capture_map.find(&id);
963956
for r.iter().advance |&cap_vars| {
@@ -1121,9 +1114,7 @@ fn decode_side_tables(xcx: @ExtendedDecodeContext,
11211114
xcx.dcx.tcx.sess.bug(
11221115
fmt!("unknown tag found in side tables: %x", tag));
11231116
}
1124-
Some(value) => if value == c::tag_table_moves_map {
1125-
dcx.maps.moves_map.insert(id);
1126-
} else {
1117+
Some(value) => {
11271118
let val_doc = entry_doc.get(c::tag_table_val as uint);
11281119
let mut val_dsr = reader::Decoder(val_doc);
11291120
let val_dsr = &mut val_dsr;

branches/snap-stage3/src/librustc/middle/const_eval.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,6 @@ pub fn lookup_const_by_id(tcx: ty::ctxt,
187187
method_map: @mut HashMap::new(),
188188
vtable_map: @mut HashMap::new(),
189189
write_guard_map: @mut HashSet::new(),
190-
moves_map: @mut HashSet::new(),
191190
capture_map: @mut HashMap::new()
192191
};
193192
match csearch::maybe_get_item_ast(tcx, def_id,

0 commit comments

Comments
 (0)