Skip to content

Commit 7901dcb

Browse files
committed
---
yaml --- r: 90721 b: refs/heads/master c: 5dcc516 h: refs/heads/master i: 90719: 0f8181a v: v3
1 parent 11fc34c commit 7901dcb

File tree

4 files changed

+1
-11
lines changed

4 files changed

+1
-11
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: 0f3e4fea4f9d5e38843429eb59c5b38be84087d1
2+
refs/heads/master: 5dcc5165a6cabbe5dc28c6564464e655b6b43638
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: a6d3e57dca68fde4effdda3e4ae2887aa535fcd6
55
refs/heads/try: b160761e35efcd1207112b3b782c06633cf441a8

trunk/src/librustc/metadata/encoder.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ pub struct EncodeParams<'a> {
6161
tcx: ty::ctxt,
6262
reexports2: middle::resolve::ExportMap2,
6363
item_symbols: &'a RefCell<HashMap<ast::NodeId, ~str>>,
64-
discrim_symbols: &'a HashMap<ast::NodeId, @str>,
6564
non_inlineable_statics: &'a HashSet<ast::NodeId>,
6665
link_meta: &'a LinkMeta,
6766
cstore: @mut cstore::CStore,
@@ -91,7 +90,6 @@ pub struct EncodeContext<'a> {
9190
stats: @mut Stats,
9291
reexports2: middle::resolve::ExportMap2,
9392
item_symbols: &'a RefCell<HashMap<ast::NodeId, ~str>>,
94-
discrim_symbols: &'a HashMap<ast::NodeId, @str>,
9593
non_inlineable_statics: &'a HashSet<ast::NodeId>,
9694
link_meta: &'a LinkMeta,
9795
cstore: &'a cstore::CStore,
@@ -1745,7 +1743,6 @@ pub fn encode_metadata(parms: EncodeParams, crate: &Crate) -> ~[u8] {
17451743
diag,
17461744
tcx,
17471745
reexports2,
1748-
discrim_symbols,
17491746
cstore,
17501747
encode_inlined_item,
17511748
link_meta,
@@ -1761,7 +1758,6 @@ pub fn encode_metadata(parms: EncodeParams, crate: &Crate) -> ~[u8] {
17611758
stats: stats,
17621759
reexports2: reexports2,
17631760
item_symbols: item_symbols,
1764-
discrim_symbols: discrim_symbols,
17651761
non_inlineable_statics: non_inlineable_statics,
17661762
link_meta: link_meta,
17671763
cstore: cstore,

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3056,14 +3056,12 @@ pub fn crate_ctxt_to_encode_parms<'r>(cx: &'r CrateContext, ie: encoder::encode_
30563056

30573057
let diag = cx.sess.diagnostic();
30583058
let item_symbols = &cx.item_symbols;
3059-
let discrim_symbols = &cx.discrim_symbols;
30603059
let link_meta = &cx.link_meta;
30613060
encoder::EncodeParams {
30623061
diag: diag,
30633062
tcx: cx.tcx,
30643063
reexports2: cx.exp_map2,
30653064
item_symbols: item_symbols,
3066-
discrim_symbols: discrim_symbols,
30673065
non_inlineable_statics: &cx.non_inlineable_statics,
30683066
link_meta: link_meta,
30693067
cstore: cx.sess.cstore,

trunk/src/librustc/middle/trans/context.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@ pub struct CrateContext {
5252
reachable: @mut HashSet<ast::NodeId>,
5353
item_symbols: RefCell<HashMap<ast::NodeId, ~str>>,
5454
link_meta: LinkMeta,
55-
discrims: HashMap<ast::DefId, ValueRef>,
56-
discrim_symbols: HashMap<ast::NodeId, @str>,
5755
tydescs: HashMap<ty::t, @mut tydesc_info>,
5856
// Set when running emit_tydescs to enforce that no more tydescs are
5957
// created.
@@ -191,8 +189,6 @@ impl CrateContext {
191189
reachable: reachable,
192190
item_symbols: RefCell::new(HashMap::new()),
193191
link_meta: link_meta,
194-
discrims: HashMap::new(),
195-
discrim_symbols: HashMap::new(),
196192
tydescs: HashMap::new(),
197193
finished_tydescs: false,
198194
external: HashMap::new(),

0 commit comments

Comments
 (0)