mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-07 05:08:19 +00:00
Add TypedSelect support to Singlepass + LLVM
Missed this in the reftypes PR
This commit is contained in:
@@ -5525,7 +5525,9 @@ impl<'a> FuncGen<'a> {
|
||||
}
|
||||
}
|
||||
}
|
||||
Operator::Select => {
|
||||
// `TypedSelect` must be used for extern refs so ref counting should
|
||||
// be done with TypedSelect. But otherwise they're the same.
|
||||
Operator::TypedSelect { .. } | Operator::Select => {
|
||||
let cond = self.pop_value_released();
|
||||
let v_b = self.pop_value_released();
|
||||
let v_a = self.pop_value_released();
|
||||
|
||||
Reference in New Issue
Block a user