diff options
| author | Björn Steinbrink <bsteinbr@gmail.com> | 2015-03-14 14:19:29 +0100 |
|---|---|---|
| committer | Björn Steinbrink <bsteinbr@gmail.com> | 2015-03-14 14:19:29 +0100 |
| commit | 3a8f989dbb7df27f78874d5afbc579cb420159d2 (patch) | |
| tree | da40a5caaef32779537010a0df5b97e298e429a6 /src/rustllvm/ExecutionEngineWrapper.cpp | |
| parent | 766a4e1acc06061a30cf456840a9915526fb681e (diff) | |
| download | rust-3a8f989dbb7df27f78874d5afbc579cb420159d2.tar.gz rust-3a8f989dbb7df27f78874d5afbc579cb420159d2.zip | |
Always evaluate the expression in [expr; n]
In case that there is a destination for the array, like in "let x = [expr; n]", we currently don't evaluate the given expression if n is zero. That's inconsistent with all other cases, including "[expr; 0]" without a destination. Fixes #23354
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
