about summary refs log tree commit diff
path: root/src/rt/rust_shape.cpp
diff options
context:
space:
mode:
authorTim Chevalier <chevalier@alum.wellesley.edu>2011-08-03 13:05:46 -0700
committerTim Chevalier <chevalier@alum.wellesley.edu>2011-08-03 13:07:41 -0700
commit001df3f0ca19018f1681e6f3e08c3a8838fb5812 (patch)
tree1189f25688441640a67b952d4d769975c1f87282 /src/rt/rust_shape.cpp
parent513276e595f8a8e988ec824a36b34cebe2aeaab4 (diff)
downloadrust-001df3f0ca19018f1681e6f3e08c3a8838fb5812.tar.gz
rust-001df3f0ca19018f1681e6f3e08c3a8838fb5812.zip
Revert "Revert "Handle conditionals on _|_ - typed values correctly""
This reverts commit ea81c03960264bf590cd99ed2b662243e3db7a7c.

Changed the case in trans_if where the conditional is _|_ - typed
but the block is terminated to return the result of the cond,
instead of nil.

This passes "make check" with optimization disabled as well as
enabled.
Diffstat (limited to 'src/rt/rust_shape.cpp')
0 files changed, 0 insertions, 0 deletions