File tree Expand file tree Collapse file tree 2 files changed +1
-6
lines changed
branches/try/src/rustc/middle Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change 2
2
refs/heads/master: 09bb07bed9166105ea961a42b5fff7739ae0d2e9
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: eb8fd119c65c67f3b1b8268cc7341c22d39b7b61
5
- refs/heads/try: 41752b02b984d93f50ce6ab6a8436f876723abfe
5
+ refs/heads/try: acaad9381d9d0ba72643f71856f9fdbb67609d81
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8
8
refs/heads/try2: a810c03263670238bccd64cabb12a23a46e3a278
Original file line number Diff line number Diff line change @@ -3552,7 +3552,6 @@ fn enum_variants(cx: ctxt, id: ast::def_id) -> @~[variant_info] {
3552
3552
} ;
3553
3553
match variant. node . disr_expr {
3554
3554
Some ( ex) => {
3555
- // FIXME: issue #1417
3556
3555
disr_val = match const_eval:: eval_const_expr ( cx,
3557
3556
ex) {
3558
3557
const_eval:: const_int( val) => val as int ,
@@ -3915,10 +3914,6 @@ fn normalize_ty(cx: ctxt, t: t) -> t {
3915
3914
t
3916
3915
} ;
3917
3916
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
-
3922
3917
let sty = fold_sty ( & get ( t) . sty , |t| { normalize_ty ( cx, t) } ) ;
3923
3918
let t_norm = mk_t ( cx, sty) ;
3924
3919
cx. normalized_cache . insert ( t, t_norm) ;
You can’t perform that action at this time.
0 commit comments