diff options
| author | Patrick Walton <[email protected]> | 2011-04-07 13:55:02 -0700 |
|---|---|---|
| committer | Patrick Walton <[email protected]> | 2011-04-07 13:55:02 -0700 |
| commit | 0f5f467dc0ef2858d08522745be4048994a0c552 (patch) | |
| tree | 86f55c22889e9dccf24e3292c1968793543e3df1 | |
| parent | "xfail-stage0", not "XFAIL-stage0" (diff) | |
| download | rust-0f5f467dc0ef2858d08522745be4048994a0c552.tar.xz rust-0f5f467dc0ef2858d08522745be4048994a0c552.zip | |
rustc: Remove useless call to type_of() in trans_rec()
| -rw-r--r-- | src/comp/middle/trans.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/comp/middle/trans.rs b/src/comp/middle/trans.rs index 2e49924d..e1660b3f 100644 --- a/src/comp/middle/trans.rs +++ b/src/comp/middle/trans.rs @@ -4629,7 +4629,6 @@ fn trans_rec(@block_ctxt cx, vec[ast.field] fields, auto bcx = cx; auto t = node_ann_type(bcx.fcx.ccx, ann); - auto llty = type_of(bcx.fcx.ccx, t); auto rec_res = alloc_ty(bcx, t); auto rec_val = rec_res.val; bcx = rec_res.bcx; |