remove unsigned_add_overflow_condition (#6199)

This commit is contained in:
T0b1-iOS
2023-04-13 16:30:44 +02:00
committed by GitHub
parent 91e36f3449
commit 3956a6aa0f
9 changed files with 1 additions and 48 deletions

View File

@@ -655,10 +655,6 @@ impl<'dummy_environment> FuncEnvironment for DummyFuncEnvironment<'dummy_environ
) -> WasmResult<ir::Value> {
Ok(pos.ins().iconst(I32, 0))
}
fn unsigned_add_overflow_condition(&self) -> ir::condcodes::IntCC {
unimplemented!()
}
}
impl TargetEnvironment for DummyEnvironment {

View File

@@ -522,10 +522,6 @@ pub trait FuncEnvironment: TargetEnvironment {
Ok(())
}
/// Returns the target ISA's condition to check for unsigned addition
/// overflowing.
fn unsigned_add_overflow_condition(&self) -> ir::condcodes::IntCC;
/// Whether or not to force relaxed simd instructions to have deterministic
/// lowerings meaning they will produce the same results across all hosts,
/// regardless of the cost to performance.