about summary refs log tree commit diff
path: root/src/rt/rust_task.cpp
diff options
context:
space:
mode:
authorBrian Anderson <andersrb@gmail.com>2011-05-17 20:35:37 -0400
committerBrian Anderson <andersrb@gmail.com>2011-05-17 22:25:24 -0400
commita98ea4f3ef60ddd83ff19d67fbc9db172893a521 (patch)
tree68392780c55c2763ad7e22c4e0a83c0f44ecb51b /src/rt/rust_task.cpp
parente840a37f33869ddee5785473617a2b5f834dca9f (diff)
downloadrust-a98ea4f3ef60ddd83ff19d67fbc9db172893a521.tar.gz
rust-a98ea4f3ef60ddd83ff19d67fbc9db172893a521.zip
rustc: Run block cleanups on else if blocks
With the scheme used to translate 'else if' currently the if expression is
translated in a new (else) scope context. If that if expression wants to
result in a value that requires refcounting then it will need to drop the
refcount in the cleanups of the else block.
Diffstat (limited to 'src/rt/rust_task.cpp')
0 files changed, 0 insertions, 0 deletions