mirror of
https://github.com/fluencelabs/wasmer
synced 2025-07-04 02:51:33 +00:00
Turn a few more assert!s that should never fire into debug_assert!s.
These are here to protect against errors when refactoring more than anything else.
This commit is contained in:
@ -1764,11 +1764,11 @@ impl FunctionCodeGenerator<CodegenError> for LLVMFunctionCodeGenerator {
|
||||
let info = {
|
||||
let mut info = i1.strip_pending() & i2.strip_pending();
|
||||
if i1.has_pending_f32_nan() {
|
||||
assert!(i2.has_pending_f32_nan());
|
||||
debug_assert!(i2.has_pending_f32_nan());
|
||||
info |= ExtraInfo::pending_f32_nan();
|
||||
}
|
||||
if i1.has_pending_f64_nan() {
|
||||
assert!(i2.has_pending_f64_nan());
|
||||
debug_assert!(i2.has_pending_f64_nan());
|
||||
info |= ExtraInfo::pending_f64_nan();
|
||||
}
|
||||
info
|
||||
|
Reference in New Issue
Block a user