Skip to content

Commit acaad93

Browse files
committed
Remove obsolete comment
1 parent 41752b0 commit acaad93

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

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)