Skip to content

Commit 157c4d2

Browse files
committed
---
yaml --- r: 3844 b: refs/heads/master c: 0d9c08a h: refs/heads/master v: v3
1 parent aa39ff1 commit 157c4d2

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: a0b78e649ec03bd3190c5e4fcd430961d31d6a07
2+
refs/heads/master: 0d9c08af2a821c50d412f0b3a93bf2c08cd9bf0e

trunk/src/comp/middle/trans.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7298,20 +7298,11 @@ fn trans_anon_obj(@block_ctxt bcx, &span sp, &ast::anon_obj anon_obj,
72987298
for (ast::anon_obj_field f in additional_fields) {
72997299
// FIXME (part of issue #538): make this work eventually, when we
73007300
// have additional field exprs in the AST.
7301-
73027301
load_if_immediate(
73037302
bcx,
73047303
additional_field_vals.(i).val,
73057304
additional_field_tys.(i));
73067305

7307-
// what was the type of arg_tys.(i)? What's the type of
7308-
// additional_field_tys.(i) ?
7309-
7310-
// arg_tys is a vector of ty::arg, so arg_tys.(i) is a ty::arg,
7311-
// which is a record of mode and t. Meanwhile,
7312-
// additional_field_tys is a vec of ty::t. So how about I just
7313-
// don't index into it?
7314-
73157306
auto field =
73167307
GEP_tup_like(bcx, fields_ty, body_fields.val, ~[0, i]);
73177308
bcx = field.bcx;

0 commit comments

Comments
 (0)