diff options
| author | Lindsey Kuper <lkuper@mozilla.com> | 2011-07-12 12:00:27 -0700 |
|---|---|---|
| committer | Lindsey Kuper <lkuper@mozilla.com> | 2011-07-12 12:01:02 -0700 |
| commit | 0d9c08af2a821c50d412f0b3a93bf2c08cd9bf0e (patch) | |
| tree | 7bed389b2b9df19c0c74bd00ed763182a98c2fd1 /src/comp/middle | |
| parent | a0b78e649ec03bd3190c5e4fcd430961d31d6a07 (diff) | |
| download | rust-0d9c08af2a821c50d412f0b3a93bf2c08cd9bf0e.tar.gz rust-0d9c08af2a821c50d412f0b3a93bf2c08cd9bf0e.zip | |
Remove some obsolete comments.
Diffstat (limited to 'src/comp/middle')
| -rw-r--r-- | src/comp/middle/trans.rs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/comp/middle/trans.rs b/src/comp/middle/trans.rs index e250d2c9993..8ee6548cfe9 100644 --- a/src/comp/middle/trans.rs +++ b/src/comp/middle/trans.rs @@ -7298,20 +7298,11 @@ fn trans_anon_obj(@block_ctxt bcx, &span sp, &ast::anon_obj anon_obj, for (ast::anon_obj_field f in additional_fields) { // FIXME (part of issue #538): make this work eventually, when we // have additional field exprs in the AST. - load_if_immediate( bcx, additional_field_vals.(i).val, additional_field_tys.(i)); - // what was the type of arg_tys.(i)? What's the type of - // additional_field_tys.(i) ? - - // arg_tys is a vector of ty::arg, so arg_tys.(i) is a ty::arg, - // which is a record of mode and t. Meanwhile, - // additional_field_tys is a vec of ty::t. So how about I just - // don't index into it? - auto field = GEP_tup_like(bcx, fields_ty, body_fields.val, ~[0, i]); bcx = field.bcx; |
