about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorBjörn Steinbrink <bsteinbr@gmail.com>2015-02-19 10:49:14 +0100
committerBjörn Steinbrink <bsteinbr@gmail.com>2015-02-19 11:46:47 +0100
commit07c0faa4070b13f7b59134ecd23f5810852319af (patch)
treeaa7711739ca76b371d5bae168f663fbf25246673 /src/rustllvm/RustWrapper.cpp
parent22992358bc74956f53b1a2ab99ae245cd3ca5550 (diff)
downloadrust-07c0faa4070b13f7b59134ecd23f5810852319af.tar.gz
rust-07c0faa4070b13f7b59134ecd23f5810852319af.zip
Fix an ICE when translating `if loop {} {}`
In `if loop {} {}`, the `if` is actually unreachable, but we didn't
handle that correctly and when trying to translate the `if` we tried to
branch on the "return value" of the loop expression, which is not an
`i1` and therefore triggered an LLVM assertion.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions