cranelift: Register all functions in test file for interpreter (#4800)

* cranelift: Implement `bnot` in interpreter

* cranelift: Register all functions in test file for interpreter
This commit is contained in:
Afonso Bordado
2022-08-30 00:39:50 +01:00
committed by GitHub
parent 5392d7cdd7
commit 500a9f17be
6 changed files with 139 additions and 38 deletions

View File

@@ -679,7 +679,7 @@ impl Value for DataValue {
}
fn not(self) -> ValueResult<Self> {
unary_match!(!(&self); [I8, I16, I32, I64])
unary_match!(!(&self); [B, I8, I16, I32, I64])
}
fn count_ones(self) -> ValueResult<Self> {