about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorBjörn Steinbrink <bsteinbr@gmail.com>2015-03-14 14:19:29 +0100
committerBjörn Steinbrink <bsteinbr@gmail.com>2015-03-14 14:19:29 +0100
commit3a8f989dbb7df27f78874d5afbc579cb420159d2 (patch)
treeda40a5caaef32779537010a0df5b97e298e429a6 /src/rustllvm/ExecutionEngineWrapper.cpp
parent766a4e1acc06061a30cf456840a9915526fb681e (diff)
downloadrust-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