mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-23 21:51:32 +00:00
Give float_bits bitcast instruction a name.
This commit is contained in:
@ -87,7 +87,7 @@ fn trap_if_not_representatable_as_int(
|
|||||||
};
|
};
|
||||||
|
|
||||||
let (exponent, invalid_exponent) = {
|
let (exponent, invalid_exponent) = {
|
||||||
let float_bits = builder.build_bitcast(value, int_ty, "").into_int_value();
|
let float_bits = builder.build_bitcast(value, int_ty, "float_bits").into_int_value();
|
||||||
let (shift_amount, exponent_mask, invalid_exponent) = match float_size {
|
let (shift_amount, exponent_mask, invalid_exponent) = match float_size {
|
||||||
FloatSize::Bits32 => (23, 0b01111111100000000000000000000000, 0b11111111),
|
FloatSize::Bits32 => (23, 0b01111111100000000000000000000000, 0b11111111),
|
||||||
FloatSize::Bits64 => (
|
FloatSize::Bits64 => (
|
||||||
|
Reference in New Issue
Block a user