Skip to content

Commit aed5f7c

Browse files
committed
---
yaml --- r: 34685 b: refs/heads/master c: acaad93 h: refs/heads/master i: 34683: 3ef9c2b v: v3
1 parent 7b8a21c commit aed5f7c

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
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 41752b02b984d93f50ce6ab6a8436f876723abfe
2+
refs/heads/master: acaad9381d9d0ba72643f71856f9fdbb67609d81
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: eb8fd119c65c67f3b1b8268cc7341c22d39b7b61
55
refs/heads/try: d324a424d8f84b1eb049b12cf34182bda91b0024

trunk/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)