diff options
| author | Trevor Gross <tmgross@umich.edu> | 2025-01-23 09:15:43 +0000 |
|---|---|---|
| committer | Trevor Gross <t.gross35@gmail.com> | 2025-01-23 03:46:46 -0600 |
| commit | b8da1919f92b9a7a97ac58ebe4623daeb098b01c (patch) | |
| tree | 07fd247fe3689cf2447e6de35597a9f9a54b355f /tests/codegen/patchable-function-entry/patchable-function-entry-no-flag.rs | |
| parent | ca8dccc5b6638aba06f4d3c06493500af3146846 (diff) | |
| download | rust-b8da1919f92b9a7a97ac58ebe4623daeb098b01c.tar.gz rust-b8da1919f92b9a7a97ac58ebe4623daeb098b01c.zip | |
Change `from_parts` to take a `u32` exponent rather than `i32`
Make things more consistent with other API that works with a bitwise representation of the exponent. That is, use `u32` when working with a bitwise (biased) representation, use `i32` when the bitwise representation has been adjusted for bias and ay be negative. Every place this has been used so far has an `as i32`, so this change makes things cleaner anyway.
Diffstat (limited to 'tests/codegen/patchable-function-entry/patchable-function-entry-no-flag.rs')
0 files changed, 0 insertions, 0 deletions
