about summary refs log tree commit diff
path: root/src/rt/rust_run_program.cpp
diff options
context:
space:
mode:
authorTim Chevalier <chevalier@alum.wellesley.edu>2011-08-02 17:21:28 -0700
committerTim Chevalier <chevalier@alum.wellesley.edu>2011-08-02 17:36:41 -0700
commit731797d075e8bd9d0e3d21c917c3c7028278a7d4 (patch)
treed63414cf252d8398f7b6b8423ee1c16fb026d4cd /src/rt/rust_run_program.cpp
parent430a28bb495fc5702970eacbd8427d965502775e (diff)
downloadrust-731797d075e8bd9d0e3d21c917c3c7028278a7d4.tar.gz
rust-731797d075e8bd9d0e3d21c917c3c7028278a7d4.zip
In trans, don't assume both sides of a binop have the same type
    This was at least partially responsible for Issue 777.

    The only solution I can think of is for trans to just not generate
    code for a comparison if one or both sides has type _|_. Since
    that means evaluating that subexpression diverges, it should be ok
    to never do the comparison. Actually generating code for the
    comparison would trip an LLVM assertion failure.
Diffstat (limited to 'src/rt/rust_run_program.cpp')
0 files changed, 0 insertions, 0 deletions