Skip to content

Commit a17ff0d

Browse files
committed
---
yaml --- r: 37159 b: refs/heads/try c: acaad93 h: refs/heads/master i: 37157: a9821d9 37155: ff9077c 37151: 6e19921 v: v3
1 parent 230a1aa commit a17ff0d

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: 09bb07bed9166105ea961a42b5fff7739ae0d2e9
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: eb8fd119c65c67f3b1b8268cc7341c22d39b7b61
5-
refs/heads/try: 41752b02b984d93f50ce6ab6a8436f876723abfe
5+
refs/heads/try: acaad9381d9d0ba72643f71856f9fdbb67609d81
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: a810c03263670238bccd64cabb12a23a46e3a278

branches/try/src/rustc/middle/ty.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3552,7 +3552,6 @@ fn enum_variants(cx: ctxt, id: ast::def_id) -> @~[variant_info] {
35523552
};
35533553
match variant.node.disr_expr {
35543554
Some (ex) => {
3555-
// FIXME: issue #1417
35563555
disr_val = match const_eval::eval_const_expr(cx,
35573556
ex) {
35583557
const_eval::const_int(val) => val as int,
@@ -3915,10 +3914,6 @@ fn normalize_ty(cx: ctxt, t: t) -> t {
39153914
t
39163915
};
39173916

3918-
// FIXME #2187: This also reduced int types to their compatible machine
3919-
// types, which isn't necessary after #2187
3920-
let t = mk_t(cx, mach_sty(cx.sess.targ_cfg, t));
3921-
39223917
let sty = fold_sty(&get(t).sty, |t| { normalize_ty(cx, t) });
39233918
let t_norm = mk_t(cx, sty);
39243919
cx.normalized_cache.insert(t, t_norm);

0 commit comments

Comments
 (0)