about summary refs log tree commit diff
path: root/tests/codegen/patchable-function-entry/patchable-function-entry-no-flag.rs
diff options
context:
space:
mode:
authorTrevor Gross <tmgross@umich.edu>2025-01-23 09:15:43 +0000
committerTrevor Gross <t.gross35@gmail.com>2025-01-23 03:46:46 -0600
commitb8da1919f92b9a7a97ac58ebe4623daeb098b01c (patch)
tree07fd247fe3689cf2447e6de35597a9f9a54b355f /tests/codegen/patchable-function-entry/patchable-function-entry-no-flag.rs
parentca8dccc5b6638aba06f4d3c06493500af3146846 (diff)
downloadrust-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