cranelift: Fix trampoline args for b1 types
Our DataValues only have one size of booleans so we are always going to have this mismatch of sizes
This commit is contained in:
@@ -198,7 +198,7 @@ impl UnboxedValues {
|
||||
// Store the argument values into `values_vec`.
|
||||
for ((arg, slot), param) in arguments.iter().zip(&mut values_vec).zip(&signature.params) {
|
||||
assert!(
|
||||
arg.ty() == param.value_type || arg.is_vector(),
|
||||
arg.ty() == param.value_type || arg.is_vector() || arg.is_bool(),
|
||||
"argument type mismatch: {} != {}",
|
||||
arg.ty(),
|
||||
param.value_type
|
||||
|
||||
Reference in New Issue
Block a user