diff options
| author | bors <bors@rust-lang.org> | 2013-03-25 20:16:01 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-03-25 20:16:01 -0700 |
| commit | 02d5f090dcefb43625dc67d0d9147dbc9776c9b1 (patch) | |
| tree | 5a0b8446923f3f9beaba3ae091ae6509b9914088 /src/rt/sync/rust_thread.cpp | |
| parent | 00605d58debc26829a1ed106f7a4be3c95860866 (diff) | |
| parent | e7f42f140b8d2271888f97ba62c5e0570032b6e5 (diff) | |
| download | rust-02d5f090dcefb43625dc67d0d9147dbc9776c9b1.tar.gz rust-02d5f090dcefb43625dc67d0d9147dbc9776c9b1.zip | |
auto merge of #5524 : luqmana/rust/repeat-loop, r=pcwalton
`let v = [24, ..1000];` now more or less emits the same IR as:
```Rust
let mut i = 0;
while i < 1000 {
v[i] = 24;
i += 1;
}
```
LLVM will still turn it into a memset if possible with optimization on.
Diffstat (limited to 'src/rt/sync/rust_thread.cpp')
0 files changed, 0 insertions, 0 deletions
