diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-01-15 14:11:50 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-01-15 14:11:50 -0800 |
| commit | 489294d517e7c00cc4a45fdc47b7ccef54330da6 (patch) | |
| tree | 53db614ee52bf2a5afe134abfefd2e78cdf9996e /src/test/codegen/stack-alloc-string-slice.rs | |
| parent | 7bc42b8fa5a90d7942bad5a0a6a9cbc37209cc2b (diff) | |
| parent | 56671cb35784f21430cc5b518263b6d03bfb7975 (diff) | |
| download | rust-489294d517e7c00cc4a45fdc47b7ccef54330da6.tar.gz rust-489294d517e7c00cc4a45fdc47b7ccef54330da6.zip | |
rollup merge of #21115: dotdash/iter_vec
There are two places left where we used to only know the byte size of/offset into an array and had to cast to i8 and back to get the right addresses. But by now, we always know the sizes in terms of the number of elements in the array. In fact we have to add an extra Mul instruction so we can use the weird cast-to-u8 code. So we should really just embrace our new knowledge and use simple GEPs to do the address calculations. Fixes #3729
Diffstat (limited to 'src/test/codegen/stack-alloc-string-slice.rs')
0 files changed, 0 insertions, 0 deletions
