diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2014-06-09 20:39:20 -0700 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2014-06-09 20:55:38 -0700 |
| commit | 1a381fa2d257908d0a4c984b1c0e26bdede620d8 (patch) | |
| tree | e991c7dd544fd6f4d016c7febc265a36ee426074 /src/rustllvm/RustWrapper.cpp | |
| parent | 907d96187641d8a018af2b73239723c66b011f71 (diff) | |
| download | rust-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
