mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 22:09:09 +00:00
Merge remote-tracking branch 'origin/trunk' into wasm-dec-add
This commit is contained in:
commit
f2f4f3bd72
36 changed files with 1281 additions and 866 deletions
|
@ -329,7 +329,7 @@ impl<'a> WasmBackend<'a> {
|
|||
self.start_block(BlockType::NoResult)
|
||||
}
|
||||
|
||||
let is_bool = matches!(cond_layout, Layout::Builtin(Builtin::Int1));
|
||||
let is_bool = matches!(cond_layout, Layout::Builtin(Builtin::Bool));
|
||||
let cond_type = WasmLayout::new(cond_layout).value_type();
|
||||
|
||||
// then, we jump whenever the value under scrutiny is equal to the value of a branch
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue