There was an error while loading. Please reload this page.
1 parent d640342 commit 8fe886cCopy full SHA for 8fe886c
1 file changed
crates/wasmi/src/engine/translator/utils.rs
@@ -61,6 +61,7 @@ pub trait WasmInteger:
61
fn is_zero(self) -> bool;
62
63
/// Returns the wrapped negated `self`.
64
+ #[cfg(feature = "experimental-translator")]
65
fn wrapping_neg(self) -> Self;
66
}
67
@@ -78,6 +79,7 @@ macro_rules! impl_wasm_integer {
78
79
self == 0
80
81
82
83
fn wrapping_neg(self) -> Self {
84
Self::wrapping_neg(self)
85
0 commit comments