about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@mimiga.net>2014-06-09 20:39:20 -0700
committerPatrick Walton <pcwalton@mimiga.net>2014-06-09 20:55:38 -0700
commit1a381fa2d257908d0a4c984b1c0e26bdede620d8 (patch)
treee991c7dd544fd6f4d016c7febc265a36ee426074 /src/rustllvm/RustWrapper.cpp
parent907d96187641d8a018af2b73239723c66b011f71 (diff)
downloadrust-1a381fa2d257908d0a4c984b1c0e26bdede620d8.tar.gz
rust-1a381fa2d257908d0a4c984b1c0e26bdede620d8.zip
librustc: Use *signed* extension when converting enums to floats.
Previously, constants used unsigned extension, while non-constants used
signed extension. This unifies both paths to use signed extension.

If this breaks your code, take a deep breath, go for a walk, and
consider why you're relying on the sign extension semantics of
enum-to-float casts.

Closes #8230.

[breaking-change]
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions